Originally posted by elaforma
View Post
Announcement
Collapse
No announcement yet.
GCC Rust Compiler "gccrs" Sees ~900 New Patches Upstreamed For GCC 14
Collapse
X
-
-
Originally posted by anarki2 View PostI don't understand why I would ever use this instead of the official compiler. I really don't.
You will want to use this if/when the official compiler becomes EOL.
- Likes 3
Comment
-
I get so confused about all of the various components here, but think I may have figured it all out. What I think is going on is...
* rustc: The official Rust compiler.
* rustc_codegen_gcc: Allows GCC to be used with rustc, and LLVM by extension (I think!) Not sure what direction things pass through, but sounds like ultimately you get the greater architectural coverage of GCC, generating bytecode (or something like that) than can then be consumed by rustc/LLVM. So you ultimate get to use the offical Rust compiler.
* gccrs: What this article is about. A Rust compiler implantation purely in/using GCC. This means of course you are no using the official Rust compiler, and any delta between the two needs to be accepted.
That is where I am at now. But at least I took a few minutes to sort it out for future mental reference. Happy for any input if there is any.
- Likes 4
Comment
Comment