Ah yes, the groundbreaking revelation that #Swift can use #C #libraries without rewriting them entirely in Swift. 🎉 Just a sprinkling of "setup" #magic, and voilà, you've saved hours of your life—now go spend them counting all the Swift.org #links you clicked in the process. 🚀
https://www.swift.org/blog/improving-usability-of-c-libraries-in-swift/ #Setup #SwiftOrg #TimeSaver #HackerNews #ngated
Improving the usability of C libraries in Swift

There are many interesting, useful, and fun C libraries in the software ecosystem. While one could go and rewrite these libraries in Swift, usually there is no need, because Swift provides direct interoperability with C. With a little setup, you can directly use existing C libraries from your Swift code.

Swift.org