3 ms·
They're working on that: > On compilers, we would like to mention all the work that has been going in GCC Rust (a GCC frontend for the Rust language) and `rust
by mkl 5y ago
They're working on that:
> On compilers, we would like to mention all the work that has been
going in GCC Rust (a GCC frontend for the Rust language) and
`rustc_codegen_gcc` (a `rustc` backend for GCC). The latter now passes
all `core` tests, and the former is now working on traits. We continue
to track their progress as they may become the best way to have
GCC-built kernels with Rust support enabled.
Writing a new kernel with all the capabilities of Linux is an absolutely enormous undertaking, billions of dollars worth: "it would cost approximately $14,725,449,000 dollars [...] to rewrite the existing code." -- https://en.wikipedia.org/wiki/Linux_kernel#Estimated_cost_to_redevelop https://en.wikipedia.org/wiki/Linux_kernel#Estimated_cost_to...
- tester34 5y ago> current US National average programmer salary 75k let's outsource it, so we can cut the cost by half, at least I just saved 7 bilion dollars and probably need to become manager
- mkl 5y agoYes, it's very rough, that's why I just said "billions". Not a project to take on lightly, anyway.
- rswail 5y agoThere's a kid in university somewhere about to send an email that says "I've written a version of Linux that runs on my rasberry pi, it's not going to be big and fancy like Linux, but I've written it in Rust and hope people like it." 30 years later, there'll be a kid in university somewhere about to send a thoughtmail that says "I've written a version of..."