Hacker News new | ask | show | jobs
by flooow 912 days 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.
2 comments

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.

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).
Oh right; that seems to be the exception then, because none of the others I checked earlier used anything other than C++.
For what it's worth, rust developers are already maintaining an independent C++ implementation of the language: https://github.com/thepowersgang/mrustc