3 ms·
> Rust has one: if you commit to using Rust, you're also committing yourself to an LLVM-based monoculture rust currently has only one backend, which is LLVM, b
by stymaar 10y ago
> Rust has one: if you commit to using Rust, you're also committing yourself to an LLVM-based monoculture
rust currently has only one backend, which is LLVM, but their is a working project to build an alternative one for the Cretonne compiler[1] for the «debug» builds, and there might also be a GCC backend for rustc one day if people are interested enough to build it. I'm not aware of any fundamental difficulties that would prevent it.
[1]: https://internals.rust-lang.org/t/possible-alternative-compiler-backend-cretonne/4275 https://internals.rust-lang.org/t/possible-alternative-compi...
- Manishearth 10y ago(The reason cretonne is debug only is that it's raison d'être is for WASM, so it won't be doing (many) optimizations. It will help with rapid prototyping however, and perhaps let you do things like a rust interpreter)