Congrats to my Swift colleagues for #finally pushing @c over the finish line! Been a long time coming.
Context: Swift has not officially had a way to expose plain old functions to C until now. Why? Because it had Objective-C interoperability first, and so deciding whether C functions should support everything ObjC does or not was…complicated. You can read about it here: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0495-cdecl.md
@jrose Thank you for calling this out. A lot of people don't realize just how much of Swift's design was influenced by the need for ObjC interop.
@jrose oh gosh, yes please. I once had to wrap my Swift code in Obj-C then that was to be called from C. Not fun.
@jrose But but, it’s Objective-C w/o the C?! Have we’ve been lied to all the time?
@helge “Swift 6.3: Objective-C, without the C, with the C.”
@jrose Objective-C, without the C, with the C, C++ actually, w/o the Objective
@jrose YESSSSSSSSSS I missed that!
@jrose I also got module selectors in, so it’s a good release for #finally fans.
@jrose (It’s not used in module interfaces by default yet, but we have that in main.)
@beccadax Yeah, you (pl and sg) do deserve kudos for this too! I just remembered you already posting about it, whereas nobody had been posting about @c (maybe because Alexis has better things to do with his time than we do)