3 ms·
Given there is native C++ interop, is exporting a C ABI still a seemingly experimental/niche feature? Same question with interop between C and Swift. Recently
by heavyset_go 2y ago
Given there is native C++ interop, is exporting a C ABI still a seemingly experimental/niche feature? Same question with interop between C and Swift.
Recently went with using Kotlin Native over Swift on macOS for this reason, the C ABI export and C interop were painless.
- MBCook 2y agoSwift has painless interop with Objective-C, which is just C plus small talk. C should already be pretty easy, though I haven’t really used it myself. I only use the Objective-C stuff. I know they’ve been working on C++ but don’t have any experience to comment. Someone else had a nice comment listing resources on that.
- mannuch 2y agoSwift has had first-class C interop for a long time. It is only C++ interop that is more experimental/in-progress.