Having a Rust compiler is probably unavoidable
Having a Rust compiler is probably unavoidable
Posted Nov 24, 2024 5:59 UTC (Sun) by comex (subscriber, #71521)In reply to: Having a Rust compiler is probably unavoidable by Karellen
Parent article: NonStop discussion around adding Rust to Git
I could have worded that better. The “because” sentence was meant to explain why you would port GCC or LLVM as opposed to writing your own C compiler. I didn’t explain why it’s usually LLVM these days, but the answer is some combination of the permissive license and the codebase being seen as friendlier.
…Not that I can speak for everyone writing an OS. And while I’ve never heard of a recent professional project starting with a bespoke C compiler, there *are* lesser-known commercial C++ compilers still under active development, like EDG and maybe Green Hills. There’s probably someone who still thinks it’s a good idea to use one of those for a new project. My guess is not many someones, though. And those projects are almost certainly embedded thingies that will never need to run Git.
