[swift-users] C/FFI interop
David Turnbull
dturnbull at gmail.com
Wed Dec 23 14:05:39 CST 2015
On Wed, Dec 23, 2015 at 8:30 AM, swizzlr via swift-users <
swift-users at swift.org> wrote:
> It would be great for Swift if people started writing native bindings in
> it as opposed to C, but...
>
No buts. It's started already. For example, here's my Mac and Linux OpenGL
loader that's 100% pure swift. Over 3000 commands cleanly imported into
Swift without a single line of C or H code.
https://github.com/AE9RB/SwiftGL
Swift isn't a dynamic language that needs an ecosystem of C packages to
supplement performance while at the same time being difficult to integrate
with C. It's exactly not that in every way. Come on in, the water's fine.
-david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151223/27bbe0c7/attachment.html>
More information about the swift-users
mailing list