[swift-evolution] [Draft] Unify "import Darwin/Glibc" to simply "Libc"
William Dillon
william at housedillon.com
Tue Mar 8 13:28:11 CST 2016
> On Mar 8, 2016, at 11:21 AM, Joe Groff via swift-evolution <swift-evolution at swift.org> wrote:
>
> How much would `Libc` include? The standard C library? POSIX? Does it provide any abstraction over platform-specific differences? In my mind, the common 'Libc' and/or 'POSIX' module would provide a reasonably consistent interface to libc or POSIX, and you'd still have library-specific modules for library-specific APIs.
>
That would make sense to me, too. I’m not sure where Brian would draw the line, but as a user, I would expect Libc to include things like stdlib, stdio, and stdint.
- Will
More information about the swift-evolution
mailing list