top | item 38684852

(no title)

flooow | 2 years ago

The underlying point is correct though. Rust developers cannot be expected to maintain a C++ implementation of their language. Half of them learned Rust to get away from C++, the other half never knew C++ in the first place.

discuss

order

arp242|2 years ago

Most Rust developers can outright ignore gccrs, and those that do want to use it will never need to look at the implementation. Would it be nicer if the GCC frontend was written in Rust? Sure, I guess. But in a quick look none of the GCC frontends are written in anything other than C++, and introducing a new language here would be an entire project on itself.

And since GCC doesn't actually include mature Rust support (yet), this would also mean that building GCC would depend on LLVM.

mjw1007|2 years ago

The GCC Ada frontend is written in Ada (and has been maintained that way in the gcc source tree for well over twenty years now).