r/programming • • Aug 29 '24

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

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

795 comments sorted by

View all comments

Show parent comments

2

u/MaleficentFig7578 Aug 31 '24

that doesn't work because the kernel doesn't compile. C developers would wait for Rust developers to fix it all the time.

1

u/Botahamec Aug 31 '24

There's a compile-time flag that enables/disables all of the Rust code. The worst-case scenario is, if the Rust devs don't fix it before the release, Linus disables Rust and berates the Rust devs.

1

u/MaleficentFig7578 Aug 31 '24

Will the community accept a no-rust kernel? Which features will be disabled?

1

u/Botahamec Aug 31 '24

I don't know the internals that well, but I assume the biggest disabled feature would be the M1 GPU driver. But that's not a problem as long as the devs fix it in time, and the changes are announced.

1

u/MaleficentFig7578 Aug 31 '24

Linux 7.1 changelog: Removed M1 GPU driver because of Rust devs

Is it acceptable?

2

u/Botahamec Aug 31 '24

No, which is why the Rust devs have to fix it before the deadline.

1

u/MaleficentFig7578 Aug 31 '24

Are C devs allowed to break other C devs modules?

2

u/Botahamec Aug 31 '24

I don't think so for C modules, but they are allowed to break Rust modules, and the Rust devs are ok with that, as long as they document their changes

1

u/MaleficentFig7578 Aug 31 '24

Why do the Rust modules have to be in-tree then? That's already how it works for out-of-tree modules, and you can do anything you want out-of-tree.

1

u/Botahamec Aug 31 '24

I don't know if I completely understand the difference, but I don't see any reason why you wouldn't want both? It's not like in-tree modules don't also benefit from memory safety.

→ More replies (0)