2 ms·
I'm not saying it's impossible to create a Kernel in Rust, but I don't think Linux or any of the BSDs will switch to anything other than C for their primary ker
by jeroenhd 6y ago
I'm not saying it's impossible to create a Kernel in Rust, but I don't think Linux or any of the BSDs will switch to anything other than C for their primary kernel development language.
The only option for kernels that are mostly Rust I can see is a ground-up kernel, but those rarely succeed if ever. There's been small kernels in C# for a while now, for example, but those are usually no more than a fun experiment.
Fuchsia is the closest thing to a completely new kernel that I can think of and despite its age and the amount of people working on it, it's not used outside of lab environments. Perhaps in ten or twenty years a new kernel will replace Linux, and that might very well be written in Rust.