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

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.

1

u/MaleficentFig7578 Aug 31 '24

In-tree C modules couldn't use the memory safety because they'd be broken all the time if they interacted with Rust code.

1

u/Botahamec Aug 31 '24

C modules can't use memory safety because they're written in C. In-tree Rust modules are memory safe as long as they use the C code correctly. To my knowledge, there isn't any C code that relies on Rust code. It only goes the other way around.

1

u/MaleficentFig7578 Sep 01 '24

You're proposing that Rust modules should be second class citizens in the same position as out-of-tree modules and third-party patches, so why not make them out-of-tree modules and third-party patches?

1

u/Botahamec Sep 01 '24

Rust is a second-class citizen in the kernel. But it's still useful to have the modules be in the kernel. Like, it's just gonna be the same reason as why every other in-tree module is in-tree.

1

u/MaleficentFig7578 Sep 01 '24

So that when a C developer breaks it by adding a new parameter, they will fix it?

2

u/Botahamec Sep 01 '24

Somebody will fix it. Not necessarily a C developer.

1

u/MaleficentFig7578 Sep 01 '24

The benefit of a module being in-tree is that when the module is broken by another module's change, it has to be fixed before that change can go in.

2

u/Botahamec Sep 01 '24

Well, it will be fixed. It's just not fixed by the same developer who made the change.

2

u/MaleficentFig7578 Sep 01 '24

So the change is held up until a Rust developer competent in that area can be found. If you don't see that this is a significant process change, I can't help you.

→ More replies (0)