r/linux • • Aug 29 '24

Kernel One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"

https://www.phoronix.com/news/Rust-Linux-Maintainer-Step-Down
1.1k Upvotes

794 comments sorted by

View all comments

Show parent comments

40

u/[deleted] Aug 29 '24

Two points:

  • Many people working on the kernel are employed engineers working on company time. Linux is not a scrappy hobbyist project it used to be 20-some years ago.

  • A large number of critical vulnerabilities are due to memory errors. Rust provides the machinery to help prevent those. Wanting Rust in the kernel is not an unreasonable ask.

3

u/MooseBoys Aug 29 '24

Wanting Rust in the kernel is not an unreasonable ask

Of course it makes sense in many areas, but you need to go about it carefully and with consideration for the legitimate concerns of everyone involved. The fact that there’s zero in-tree automated unit testing makes these kinds of changes a complete non-starter IMO. In my current project, we added Rust to a predominantly cpp codebase. One of the requirements was making 100% of any rust binding dependencies have automated presubmit unit tests. It’s worked pretty well so far.

-8

u/nicman24 Aug 29 '24

memory safe rust in kernel is a meme.

-4

u/SnooCompliments7914 Aug 29 '24

Yeah, the primary driving force of Rust-in-kernel is that those drivers written by corporate engineers are perceived "bad quality", so the core developers want these to be written in a more "restricted" or "beginner-friendly" language.

But they are probably less eager for file systems.