by ericpts · 9y ago · 0 comments
This is what I mean in another thread about outsourcing safety.
Then you cannot use Rust and must settle for lack of safety. (A profoundly silly question -- if modern C++ is not an option for whatever reason, then Rust is doubly so.)
Just because the only existing Rust compiler uses LLVM, it doesn't mean another implementations will not surface.
So hypothetical the OS not targeted by clang, can still have a Rust compiler on the OS SDK, offering all safety guarantees from Rust.
For example, there are OSes and hardware architectures not supported by clang that have Ada and even Java AOT compilers.