3 ms·
The idea is to use it for cross platform libraries. Let's say you were building an RSS reader, you could reuse your same feed parsing code on Android, Windows,
by danielvf 10y ago
The idea is to use it for cross platform libraries. Let's say you were building an RSS reader, you could reuse your same feed parsing code on Android, Windows, Mac, and Linux.
- santaclaus 10y agoBut with Swift riding on top of the LLVM infrastructure similar to Rust, cross platform libraries are also possible with the Swift toolchain, no?
- ultramancool 10y agoSure - this may be me more appealing if you prefer Rust as a language or wrote some existing code in it but still want to be able to target iOS.
- theresistor 10y agoNothing about LLVM makes Swift inherently cross-platform. LLVM bitcode is not target independent.
- Alphasite_ 10y agoI'm not sure I understand the relevance? Neither are rust libraries.
- smoothdeveloper 10y agoNot sure about exposing Swift to C itself, while Rust has a clear "call from C" story. I think that's what was referred to.