Re:GCC Rust Monthly Report #9 August 2021
by apendleton on Tuesday August 31, 2021 @04:56AM
(#28365452)
It'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 that would likely yield those same benefits for less effort.
Re:GCC Rust Monthly Report #9 August 2021
by volta83 on Tuesday August 31, 2021 @07:12AM
(#28366356)
The "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.
Re:GCC Rust Monthly Report #9 August 2021
by southerntofu on Tuesday August 31, 2021 @02:05PM
(#28371393)
> this is not it
Wouldn't both approaches produce the same result (if they ever succeed to implement the whole spec)?
Re:GCC Rust Monthly Report #9 August 2021
by volta83 on Tuesday August 31, 2021 @03:34PM
(#28372483)
If 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.
Re:GCC Rust Monthly Report #9 August 2021
by southerntofu on Wednesday September 01, 2021 @04:29AM
(#28377527)
Fair enough. Your parent comment seemed to imply otherwise :)
There are tons of embedded platforms that get rust support from this work.