News for hackers. Stuff that matters.
Re:Interoperability: Swift’s Super Power by zozbot234 on Friday September 22, 2023 @08:23AM (#37611062)
Swift simply has good interop with shared objects written in Swift. You're not forced to go through a raw C ABI for everything, whereas you have to do that in Rust (unless your shared objects are part of the same build). There are crates to make interop a bit easier, but they're not standard in any real sense.

The flip side though is that once you have to build a raw C API/ABI for your shared object written in Rust, it becomes usable with any other language that has good FFI with C, which is most of them.

There are no comments on this comment yet.