Re: [swift-corelibs-dev] Better integration with UNIX tools

2017-12-01 Thread Ian Partridge via swift-corelibs-dev
Hi Nick, You might be interested in the new Utility project that the Package Manager team have published. It has a bunch of Foundation-esque features including subprocess support, temporary file, progress bars and more. There's a good blog post about it here: https://www.hackingwithswift.com/art

Re: [swift-corelibs-dev] Encountering "Constant strings cannot be deallocated" in Linux foundation

2017-12-01 Thread Tony Parker via swift-corelibs-dev
This isn’t it, because we always call through to swift_release in CFRelease on Linux, because the CFString is a swift type under the hood. We may be able to change this to check for a CF specific hack of some kind, but in the meantime adding the retain works. PR here: https://github.com/apple/

Re: [swift-corelibs-dev] Better integration with UNIX tools

2017-12-01 Thread Daniel Dunbar via swift-corelibs-dev
> On Dec 1, 2017, at 6:28 AM, Ian Partridge via swift-corelibs-dev > wrote: > > Hi Nick, > > You might be interested in the new Utility project that the Package > Manager team have published. It has a bunch of Foundation-esque > features including subprocess support, temporary file, progress

Re: [swift-corelibs-dev] Better integration with UNIX tools

2017-12-01 Thread Philippe Hausler via swift-corelibs-dev
Looking through some of them they are somewhat similar to the Foundation APIs, but there are a few improvements that I think would make them more compelling for generalized use. I don’t think that it is out of the question to perhaps merge the two concepts and reduce to Foundation as the place t