5 ms·
Because GCC is available on almost every platform that is in use, while LLVM is still much more limited. There are tons of embedded platforms that get rust sup
by Tuna-Fish 5y ago
Because GCC is available on almost every platform that is in use, while LLVM is still much more limited.
There are tons of embedded platforms that get rust support from this work.
- apendleton 5y agoIt's true that if this project succeeds, that would be an outcome, but it's probably worth noting that you'd really only have to add support for the GCC backend to do that, and not reimplement the frontend as well (parsing, type checking, lifetime checking, etc.). There's an unrelated project working to do that: https://github.com/antoyo/rustc_codegen_gcc https://github.com/antoyo/rustc_codegen_gcc that would likely yield those same benefits for less effort.
- volta83 5y agoThe "official" Rust frontend has a GCC backend that delivers this same value. There might be other value that a separate Rust frontend delivers over the official one, but this is not it.
- southerntofu 5y ago> this is not it Wouldn't both approaches produce the same result (if they ever succeed to implement the whole spec)?
- volta83 5y agoIf GCC Rust is able to keep with Rust release cycle of new stable features every 6 weeks and new features / fixes on a nightly basis, sure.
- southerntofu 5y agoFair enough. Your parent comment seemed to imply otherwise :)