Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
santaclaus
· 10y ago · 0 comments
But with Swift riding on top of the LLVM infrastructure similar to Rust, cross platform libraries are also possible with the Swift toolchain, no?
Comments
[–]
theresistor
10y ago
Nothing about LLVM makes Swift inherently cross-platform. LLVM bitcode is not target independent.
[–]
Alphasite_
10y ago
I'm not sure I understand the relevance? Neither are rust libraries.
[–]
smoothdeveloper
10y ago
Not sure about exposing Swift to C itself, while Rust has a clear "call from C" story.
I think that's what was referred to.
[–]
ultramancool
10y ago
Sure - 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.