2 ms·
Rust for OS development has a pretty big following, even though there are no large production kernels (yet) obviously. There are 2 reasons the Linux kernel in
by alkonaut 7y ago
Rust for OS development has a pretty big following, even though there are no large production kernels (yet) obviously.
There are 2 reasons the Linux kernel in particular uses C and will continue to use C: 1) it was C originally and 2) it should compile without requiring some other compiler.
Anyone who sets out to write a new OS kernel (or similar) today for platforms where Rust is available, would probably/hopefully use Rust over C. That doesn't mean it's a good idea to start making existing code bases "hybrids". No one wants a huge codebase where to build it you need N compilers for languages that were popular in various times during the code bases hisory, and where you need to be an expert in N languages to maintain it.