Hacker News new | ask | show | jobs
by kbenson 3255 days ago
Isn't Swift compiled? I'm not sure it's relevant to the specific problems faced here, unless a library written and compiled in earlier versions of Swift won't be usable in a Swift 4 project.
1 comments

That's the case. Swift is currently not abi compatible, so libraries compiled with one Swift version only work with that version.
Ah, I see. I assume you could compile to a C compatible library, but they you would have to deal with marshaling costs where the types mismatch, correct?