[swift-build-dev] Proposal: Extract POSIX module from swift-package-manager

Adam Sharp adsharp at me.com
Mon Dec 7 16:27:54 CST 2015


Hi,

What do you think about about the idea of extracting the POSIX module out into a new project, say swift-posix?

I'm very excited about Swift becoming a viable language for writing tools and scripting. To that end, I think it would be extremely valuable to have a standard Swift module for interacting with the system and the shell.

Currently it's possible for me to add SPM as a dependency in a package, and import the POSIX module myself. However it would be great for the community to be able to contribute fixes or new features if they're generally useful, and those changes may be orthogonal to the direction of SPM itself. In the future it may also be valuable to be able to consider new abstractions over the POSIX layer that would be breaking changes for SPM---thus, a separate package could have its own semantic version, enabling that kind of evolution.

SPM is off to an excellent start in my opinion. Congratulations to the team!

–Adam


More information about the swift-build-dev mailing list