r/rust • • 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
586 Upvotes

374 comments sorted by

View all comments

Show parent comments

-42

u/InflationOk2641 Aug 29 '24

I've heard similar responses to Ted's at places I've worked in overhauls that I've worked on. There will always be a time when the new stuff is second class and will be broken by changes in systems it is trying to replace. You just have to suck it up and deal with it. Ted isn't saying "no", he's just saying that there will be problems and maybe it'll be shown that the rust way is easier or maybe it won't be easier: nobody knows. But people are busy and they probably don't have the time to learn and think about the rust interface right now because they've got their own priorities to deal with.

116

u/mort96 Aug 29 '24

That's bullshit, sorry. He literally describes the speaker as trying to convert everyone to a religion.

-67

u/InflationOk2641 Aug 29 '24

But that's the intention, no? Call it religion or forcing ones opinion, or whatever. But nobody in the long-term realistically wants both a Rust and a C version of writing device drivers, filesystems etc because it becomes too difficult to understand the behavourial differences between the two implementations. Therefore this Rust solution must be pushed as "this is the way we're going to do it and we'll either prove it works or fail trying" i.e. you're trying to convert people to using a new design. Otherwise what is the point of this exercise?

71

u/CouteauBleu Aug 29 '24

I think your points are valid in a vacuum, but don't really apply here.

Saying "You're trying to convert people to this new system" and "You're trying to convert people to this new religion" have very different undertones.

When you say "you're trying to convert people to your religion" in a technical discussion, you're packing a huge amount of implied judgments about the other party: that they're a zealot or a fanatic, that their motivation is personal instead of technical, that they're trying to enforce a conformity of opinion, that they're victims of an enforced conformity of opinion, and that any argument they make is implicitly hostile and suspect and should be treated as a threat.

This is Ted's behavior in that discussion. Ted is not trying to politely inform the maintainers that he thinks the project should be low-priority and treated as experimental. He's trying to take them down a peg. When the maintainers reply that they're aware of the experimental/second-class nature of the project, he simply ignores them and keeps shouting at them, because he's not trying to communicate technical difficulties or express skepticisim about a given solution, he's trying to show hostility at the entire endeavor.

(This is my experience with a lot of these discussions, by the way. Rust enthusiasts get accused of arrogance a lot, but they're often very soft-spoken and prudent compared to the people who speak out against the language.)

46

u/[deleted] Aug 29 '24

Calling it religion is arguing without substance. People need to stop with the analogies. Especially the loaded ones. It just shows that he is not arguing in a good faith and is just pushing his emotion.

-7

u/InflationOk2641 Aug 29 '24

Yep he is and like I said that's just the stuff you have to deal with and it's not exclusive to rust and the kernel. Doesn't matter whether it's pushing some rust thing or some other working practice change. People will resist the change. Some people have it in them to last the fight and some don't. Of course it shouldn't be like this but people are doing what people do

10

u/JoeyJoeJoeTheIII Aug 29 '24

But why are the people trying to improve things by bringing in rust being accused of religious zealotry instead of the guy yelling at them, tossing out accusations, and clinging desperately to a terrible language?

16

u/sepease Aug 29 '24

It’s a prototype. It represents a negligible fraction of the work that would required to do a rewrite of every filesystem, which would probably take decades.

There is no indication that the presenter is ready and willing to undertake a project of that scope. It looks to me more like what he’s trying to do is to build an adapter so that Rust filesystem modules can plug onto the C code.

That’s about when you would start asking if this seems viable. But I’d expect it wouldn’t be until something like ext4 or btrfs has a Rust implementation that serious consideration would be given to a rewrite of that scope.

8

u/JoeyJoeJoeTheIII Aug 29 '24

That sounds less like religious zealotry and more like reasonable engineering philosophy.

By accusing rust people of being toxic zealots C programmers can deflect from the fact they are irrationally attached to a 50 year old language that constantly causes massive security bugs.

Governments have designed languages to try and get around Cs stupidity. They have designed different coding standards to try and design around it. Agencies are pushing guidance that C should be avoided.

Why? Because of the absolutely insane numbers of high impact bugs caused by C (and C++) lacking memory safety.

3

u/epidemian Aug 30 '24

But nobody in the long-term realistically wants both a Rust and a C version of writing device drivers

Maybe not long term, but short/medium term, why not? Wouldn't it be nice to have two different options for writing device drivers, and checking/validating if the new option has some advantages or if is actually worse than the established one? If it happens that it's advantageous to write device drivers in Rust, then that's an awesome learning for Linux. If it happens that it isn't, well, that's something learned as well: now the project has a better idea of what work and what doesn't.

14

u/JoeyJoeJoeTheIII Aug 29 '24

He’s accusing them of things they didn’t say, making tired arguments, and having a near tantrum at the thought of learning rust.

This was a guy making a clear honest argument IMO, it was a C zealot doing C zealot things.

3

u/Chippiewall Aug 29 '24

Ted's technical concerns are reasonable (somewhat), but his behaviour in communicating those concerns is unprofessional and unacceptable.

13

u/JoeyJoeJoeTheIII Aug 29 '24

No they aren’t, he accused them of things they didn’t say or do then ranted against it.

5

u/cowinabadplace Aug 29 '24

The impression was that he was scared of maintaining the Rust bindings because they were outside his skillset. He's a big Linux FS maintainer/developer (I know of him because of his btrfs work) and an FS driver was an early candidate for Rust on Linux. He wants to be able to maintain the FS stuff without having to worry about the Rust bindings. He'd be unhappy if he is slowed down a lot because of this new maintenance burden on refactors.

I think that's rational and a reasonable technical objection. It was immediately answered, though, that Rust being a 2nd class citizen means the bindings could break until the RoL team fixes it.

It's all the religion business, and then not accepting that which makes it silly. And all the bikeshedding crap. But it's really the fear that this thing that he knows well is not going to be fully known to him soon.

0

u/JoeyJoeJoeTheIII Aug 30 '24

His fears are invalid because he’s just a narrow minded asshole.

That simple.

3

u/Chippiewall Aug 29 '24

I think they are somewhat reasonable concerns, because communication, particularly technical communication, is hard. It is not unconscionable (in fact I think it's rather likely) for the Rust-For-Linux developers to be misinterpreted by other Linux kernel developers. In that context it is reasonable for someone to have concerns, however unfounded, about ongoing maintenance of Rust bindings to Linux kernel interfaces. And those fears could have been easily allayed.

What is unreasonable is how he communicated those concerns. Engineers can communicated concerns without accusing people of acting in bad faith, and without ranting.

0

u/JoeyJoeJoeTheIII Aug 30 '24

No, he’s just an asshole.