Remix.run Logo
djha-skin 3 days ago

The GCC compiler collection has been hit and miss though. Nobody uses gcj for example. I sort of doubt that they'll be able to implement a good compiler for a language that doesn't even have a standard without that implementation going wildly out of date in the future, just like what happened with Java.

oldsecondhand 3 days ago | parent | next [-]

Since OpenJDK was released there isn't much point maintaining GCJ.

aw1621107 3 days ago | parent | prev [-]

There's two different methods by which Rust support can be added to GCC: adding a Rust frontend to GCC and adding a GCC backend to the Rust compiler (rustc_codegen_gcc). The latter approach would not be (as?) susceptible to implementation divergence as an independent frontend.

1718627440 5 hours ago | parent | next [-]

I hope for the former since then the functionality might become available as attributes in C too.

nextaccountic 3 days ago | parent | prev [-]

yep, if git is content with rustc_codegen_gcc, then it's very doable they can require rust in the next few years