Originally posted by uid313
View Post
So from a safety perspective it's hard not to find Rust appealing.
However, introducing a new language to the kernel adds a lot of complexity, particularly when it's quite a high-barrier language of which I would assume a large majority of kernel developers aren't well versed in, if having used it at all. It requires at the very least that all the maintainers of subsystems containing Rust code become expert Rust programmers alongside being expert C programmers, as they are responsible for accepting/rejecting code submitted to said subsystems.
Then we have the toolchain dependency, accepting Rust code creates a hard dependency on the Rust compiler being available which means you can no longer build Linux solely using GCC, and to top it off, the Rust compiler is really slow (this will likely improve, but it will always be slower than a C compiler given that it does more verification). Also the language design itself seems to still be in a state of flux.
I don't think Rust is ready for Linux mainline inclusion, not on the tooling side, and likewise not on the developer side.
Comment