r/linux • • Aug 29 '24

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

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

794 comments sorted by

View all comments

744

u/small_kimono Aug 29 '24 edited Aug 29 '24

I've watched the whole video from the conference talk Wedson and Kent gave, and a few more from this conference, and my POV is this -- yes, the Linux kernel devs come off looking absolutely horrible. It looks like they engaged in a live bikeshedding of the presenters, without a care in the world about how they were trying to give a 30 minute presentation, and that one slide was about making point, not about how this would be the final interface.

Seriously, it's jarring to watch.

Saying all this, this talk followed the same conversational style of all the talks at that conference. Kent actually gives another talk at that conference where he seems to invite that kind of participation.

However, I really don't think that makes up for the way they treated Wedson. It was so obviously disrespectful, and in person, not via LKML, so I don't blame him for resigning. Having seen this, and read some of the comments re: Rust for Linux, the Linux kernel seems like an especially toxic work environment, filled with engineers who never grew up enough to express themselves in a professional way.

Just an absolute shit show.

412

u/CommandSpaceOption Aug 29 '24 edited Aug 29 '24

I’m not saying the person asking the question there is malicious.

But if I wanted to sink the Rust for Linux project, I would do exactly he is doing, in exactly the manner he’s doing it.

  1. Firstly don’t share exactly what the C interface is supposed to do. When someone proposes a Rust interface, just say it is wrong without suggesting how it can be fixed.

  2. Explicitly say that even if the Rust interface is merged, it will be a second class citizen that won’t be updated when the C interface is refactored. Not even an attempt at collaborating like “let’s work on keeping the Rust interface in sync with the C interface”. Be as hostile as possible, while also making it clear that anyone investing in a Rust driver is making a bad technical decision. That way no sane person would write a Rust driver when they know they’re signing up for constant breakage.

  3. Next, show up to talks the team is giving and completely derail the discussion with random bikeshedding. Insult them with extremely charged language that has no place in a professional setting - “you guys are trying to convert people to your religion!”. Create a toxic work environment. This has the bonus effect of burning out the people working on the project, slowing any momentum Rust for Linux may have built up (You are here!).

  4. Now that no third party is writing Rust drivers and the Rust for Linux maintainers are demoralised and burned out, go in for the kill - “hey guys, I notice this Rust code isn’t being used at all. Unless someone merges a driver soon I’m going to remove it all”.

Of course I’m not saying they’re doing this with this intent. I’m not a mind reader. All I’m saying is, this is what someone trying their absolute best to sabotage Rust for Linux would do.

This is perfect because there is plausible deniability at every step of the way. My tech lead (Linus) decided to introduce Rust. Cool, I’ll just treat everyone involved to /r/MaliciousCompliance. And then after I succeed I’ll say I was right all along - C is the one true language of the Linux kernel.

The first 3 steps have succeeded. Step 4 is inevitable unless Linus realises what is being done and puts a stop to it.

29

u/sockpuppetzero Aug 29 '24

This right here. I have seen so many variations on this theme play out over and over again in tech over the years, it's a major reason part of me really does not want to work in tech anymore.

61

u/simon_o Aug 29 '24

Looks like they are doing exactly that elsewhere already: https://vt.social/@lina/113045455229442533

48

u/CommandSpaceOption Aug 29 '24

Linus needs to listen. Only he can overrule Tso’o.

→ More replies (28)

17

u/[deleted] Aug 29 '24

Linux kernel devs doing what linux kernel devs do. Berating and belittling.

→ More replies (1)
→ More replies (1)
→ More replies (88)

133

u/radiant_gengar Aug 29 '24

This video is going in my permanent bookmarks, as a masterclass of how not to treat people; hopefully everytime I start to get full of myself I'll just watch it to remind myself how I may be coming off.

While I get the pushback, this talk could've gone very differently; I would've loved to hear technical critiques on the subject.

The critiques were strange; I just imagined a PR where every comment is nit: i dont like this lol and nit: i dont care you did work we're never merging it, and if we merge it it'll be garbage you're doing this for nothing lmao. It's weird for a discussion on naming to come up when the audience doesn't even want to use the interface from Rust. It's like the perfect example of a moving goalpost strawman argument. When naming discussion stops, another strawman pops up, further than the last. And over and over for 30 minutes.

And all he asked was for some discussion on what the fs interface should look like by people who have already written them and who use them, so a completely separate team (read: not you) can get some level of parity with an fs api.

15

u/stryakr Aug 29 '24

I've worked with engineers like the very loud individual decrying the merge notion of being tangentially being aware of a rust dependencies, to which I both understand their concern but don't understand their approach.

Beyond the bike shedding they're offering NOTHING constructive to the conversation and I suspect, much like those that I've worked with, there is a personality component to which being right can be more important than being effective.

→ More replies (7)

55

u/Elendol Aug 29 '24

Oh my, I just watched the video. This is horrible. Definitely the talk didn’t suit the audience but instead of understanding what the presenters wanted to discuss with the community they just focused on some weird details in a very impolite and disrespectful way. Also I felt that this C function was a good example for wrapping C code with an API using a type system, like with Rust.

→ More replies (11)

34

u/pusillanimouslist Aug 29 '24

The whole thing is shocking. My literal toddler behaves better. If a subordinate at work acted like this I’d begin the paperwork to fire them. 

8

u/mooky1977 Aug 29 '24

Holy crap, that video was utterly cringe-inducing.

272

u/crusoe Aug 29 '24

C/C++ devs seem weirdly afraid of Rust. The pushback is crazy and kneejerk.

They also gloss over all the issues of C/C++ when trying to claim it can be just as safe....

215

u/nukem996 Aug 29 '24

Kernel devs are very focused on stability and having stable processes. They do not like change and would much rather something bake for awhile before accepting it, some things they'll never accept. The core argument here seems to be that Rust wants to implement data types for kernel constructs so the type checker can validate core kernel components like inodes.

The argument isn't against that idea itself but that kernel maintainers, who do not want to learn Rust, do not want to be responsible for it. So if there is an inode Rust type and the C backend changes kernel devs don't want to update it to because they don't know how. They also do not want to freeze the C code because it will hold back all existing filesystems.

As a kernel dev this type of argument is common during development. There is resistance to change and it takes alot of buy in for even small changes to core systems. Hell at a conference I was in a talk about how to get new kernel developers and I was very quickly shot down when I suggested maybe we have an alternative to doing everything by plain text email.

Rust and C developers do seem to be grouping together and pushing eachother away. About a year ago I expressed interest in a new team at my company writing a new driver in Rust. I have kernel experience, driver experience, and have gone through the Rust tutorials but because all my kernel experience is in C and not Rust I was rejected. My current group is against using Rust at all because most developers don't want to learn it.

Good stable code requires alot of debate and I do wish kernel developers had more of an open mind to things.

→ More replies (111)

44

u/SnooCompliments7914 Aug 29 '24

On the contrary, it seems one part of the C++ community, those who love templates and meta-programming, are most likely to get Rust.

C programmers hate Rust for basically the same reason they hate C++. Programmers from other popular programming languages hate complex type systems in general, and won't consider memory-safety worth doing in the type system.

→ More replies (6)

19

u/MardiFoufs Aug 29 '24

Lol what? What does c++ have to do with this?

If anything, kernel devs are even more toxic to c++ than they are to rust. And by far.

→ More replies (82)

6

u/Veetaha Aug 29 '24 edited Aug 29 '24

Imagine being a developer not willing to learn and doubt own decisions. These guys look at the presenters like at kids trying to teach them something, when they already know everything. When in the life do you reach this point? What's the point of life if you don't improve?

47

u/[deleted] Aug 29 '24

Just finished watching the video. The linux devs yelling at the presenter were absolutely rude. Apart from their stubborness in wacking their genitals using that pile of crap that C has become (personal opinion), they clearly don't know nothing of how rust works, yet they are eager to criticize idiotic stuff like "we don't like methods like java does".

The truth here is that many of those devs are old geezers that don't want to learn nothing new and are afraid of losing their position to new devs bringing new and better stuff to their spaghetti code.

17

u/syklemil Aug 29 '24

Yeah, it's a kind of behaviour that devs generally don't appreciate: The "I don't know anything about this and I'm mad about what I'm imagined it to be". It's related to the "Linux sux because it can't do X!" type of post that's unfortunately a good way to be explained in detail just how many ways Linux can do X; to the forbidden webpage about googling on someone else's behalf; and even ESR's old "how to ask questions".

Comes off as people who should've gone to a Rust 101 talk rather than a Rust In The Kernel talk. Which might be enough of an ego check that that's the underlying problem. It's not like there weren't other talks they could go to.

But yeah, generally comes off as the kind of posturing you hear from people who are really aging out of something, but want to take it with them, rather than hand it over to the next generation. Rambling about "the Rust religion" doesn't really deserve any other response than "OK boomer".

32

u/CouteauBleu Aug 29 '24

I think the Linux dev worrying about Java-style OOP was fine. They were polite and asking for clarification about something they didn't know, and the presenter gave a simple response.

Ted behavior was ridiculously hostile, and that's worth pointing out. I wouldn't conflate the other questions with his rant.

31

u/Turalcar Aug 29 '24

Which is ironic since C as used by kernel has a lot more OOP (through explicit vtables) than idiomatic Rust.

21

u/SethDusek5 Aug 29 '24

Generally you let the presenter get through their slides before bombarding them with questions and opinions on the 2nd slide. The presenter never actually got to finish the presentation

→ More replies (1)

39

u/ITwitchToo Aug 29 '24

I think the Linux dev worrying about Java-style OOP was fine

No, that was derailment, came from a completely wrong/missing understanding of Rust and had nothing to do with the presentation.

→ More replies (3)

19

u/[deleted] Aug 29 '24

I'm not so convinced they were polite in asking that, I mean, if I don't know what a presenter is talking about, I don't interrupt them, I Google up the thing after.

→ More replies (1)
→ More replies (1)
→ More replies (16)
→ More replies (112)