News for hackers. Stuff that matters.
Re:Swift System Is Now Open Source by wool_gather on Saturday September 26, 2020 @12:40PM (#24600106)
I wouldn't say "seamless". Interacting with C directly from Swift is possible, and fine from a binary perspective, but quite clunky at the source level. (Which obviously is a motivation for the library that is being announced here.)

There are still assorted gaps in C imports -- a key example is forward-declared structs, that _all_ arrive in Swift as a _single shared_ `OpaquePointer` type: https://forums.swift.org/t/opaque-pointers-in-swift/6875

There are no comments on this comment yet.