Re:Committing to Rust in the Kernel
by steveklabnik on Wednesday September 25, 2024 @12:11PM
(#41648974)
> But not in the Linux kernel.
Sure, it is still an experiment, but that's irrelevant: your theoretical "make C memory safe" tooling does not exist and does not exist in the kernel.
> instead of writing a novel tool?
Do you have a proposed design for the novel tool? Many have tried, nobody has succeeded.
> Do you have any examples here?
From the article:
> Kroah-Hartman said that it could eliminate entire classes of bugs in the kernel.
He's said similar things elsewhere: https://social.kernel.org/notice/AlxbVeMxyJNsLoNa6q
But not in the Linux kernel. Any new effort will be greenfield, why rally around an entirely different programming language instead of writing a novel tool?
> Greg in particular has recognized how Rust’s type system will be helpful for preventing other kinds of bugs
Do you have any examples here?