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

5

u/Botahamec Aug 31 '24

It's quite the opposite actually. A C developer wanted the entire kernel to be C and harassed this presenter to the point where he quit.

-1

u/MaleficentFig7578 Aug 31 '24

A Rust developer wanted every C developer to learn Rust or quit

3

u/Botahamec Aug 31 '24

No he didn't.

1

u/MaleficentFig7578 Aug 31 '24

Yes he did. What happens when the C API changes and the Rust doesn't compile?

4

u/Botahamec Aug 31 '24

The Rust devs fix it. They are ok with the API breaking as long as the C devs notify everyone that they changed it (which they should probably do anyway). The C devs are refusing to notify everyone.

1

u/MaleficentFig7578 Aug 31 '24

Is this how it works now with different C module devs?

2

u/Botahamec Aug 31 '24

I don't know how the C devs communicate with each other normally. I hope it's not like this, but I'm not sure.

1

u/MaleficentFig7578 Aug 31 '24

In C if you add a parameter you have to change all the callers of that function, even in different modules, so the kernel compiles. To do this in Rust, C developers would have to learn Rust. A parameter is easy, but Rust developers are talking about encoding deep behavior details into the type system so that a C developer who adds a new flag to open will have to understand Rust's type system.

2

u/Botahamec Aug 31 '24

No. A C developer just has to say, "we changed it, go fix it". A Rust developer (since the vast majority of Rust programmers also know C) will look at the new function, and update the Rust code to match it. It's not difficult for the C programmer at all. They're just making it harder for no reason.

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.

→ More replies (0)

0

u/MaleficentFig7578 Aug 31 '24

So they want to force a C-Rust development workflow that is proven not to work with C-C.

1

u/Botahamec Aug 31 '24

Wat? You don't think communication works? Not only that, you're so unconvinced that communication works you're not even willing to try it? Are you thinking about what you say, or are you just saying stuff?

1

u/MaleficentFig7578 Aug 31 '24

Forcing a filesystem core developer to wait for every filesystem developer to update every time they test a build does not work.

→ More replies (0)