3 ms·
Swift's generics have some unique properties at module boundaries to allow for a stable ABI while enabling library evolution. To get additional background, you
by favorited 4y ago
Swift's generics have some unique properties at module boundaries to allow for a stable ABI while enabling library evolution.
To get additional background, you might be interested in this[0] conference talk (the paper's author is one of the co-presenters). Also, this post[1] by a Rust and Swift compiler engineer talks about what Swift does differently than other languages, and the tradeoffs that are involved.
[0]https://www.youtube.com/watch?v=ctS8FzqcRug https://www.youtube.com/watch?v=ctS8FzqcRug
[1]https://faultlore.com/blah/swift-abi/ https://faultlore.com/blah/swift-abi/