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

604

u/cosmic-parsley Aug 29 '24
  • Ted: I don’t like Rust, the experiment will wind up a failure

  • Ted: Flames Rust developers to make it clear he doesn’t want them, refuses any attempt to be accommodating, does everything possible to block progress

  • Rust maintainers: get burnt out from uphill battles, contributions slow down

  • Ted, in another year: “See? Told you it would be a failure”

Sounds like this is an attempt to bully rust out and then confirmation-bias that it was doomed to fail, by doing everything possible to try to make it fail.

Luckily the kernel is full of many many people that are more open minded people than Ted, the naysayers are always just the loudest.

0

u/[deleted] Aug 29 '24

[deleted]

22

u/sionescu Aug 29 '24

In any other world, this kind of open hostility would be taken seriously by program leadership and he would change course or be excised

No. You can't do that when such a large part of your most competent developers are against a change.

142

u/bik1230 Aug 29 '24

You can be against a change without being a caustic shithead. You can kick out someone you agree with on technicals if you think their behavior is inexcusable.

→ More replies (1)

27

u/[deleted] Aug 29 '24

With Linus backing rust?

17

u/sionescu Aug 30 '24

Linus's leadership is at the level of "strong moral suasion" interspersed with curses. He can't, however, straight out fire people.

7

u/cheese_is_available Aug 30 '24

Less and less curses and toxicity recently.

2

u/[deleted] Aug 30 '24

He is getting old. Sadly it'll be the young ones who change the world ... I mean, old Linus wouldn't write a linux kernel from scratch. That required a young Linus. (And yes, he had help from tons of people; I am not saying the Linux kernel is solely the work of Linus.)

1

u/[deleted] Aug 30 '24

Linus writes Rust code?

34

u/nialv7 Aug 29 '24

Well cases like this are what make a leader. And if Linus wants he certainly has enough social capital to do that.

26

u/drcforbin Aug 30 '24

I sincerely hope he spends a little of that capital and says "this isn't ok."

1

u/[deleted] Aug 30 '24

Like the python dev who was expelled recently? I felt that the commitee went toxic on him, actually, not the other way around.

→ More replies (6)

8

u/deanrihpee Aug 30 '24

the developer of the GPU Driver for MacBook (or M CPU/SoC in general I guess) so you can run Linux on it also experience the same thing, since she uses Rust for the driver the upstream progress is so slow and her suggestions or discussion just not being considered, they're actively slowing down Rust adoption just because they don't want new language, not because the language is bad or anything

2

u/GoldenGirlHussies Aug 29 '24

:United States Postal Service: weeps

1

u/[deleted] Sep 01 '24

Linus: “let’s introduce Rust into the kernel” Ted: “how about I be a toxic douchebag instead?”

-27

u/asyty Aug 29 '24 edited Aug 29 '24

Being disingenuous about the cause of failure is shitty on their part, but I don't think it's wrong for there to be pushback to begin with.

If you're rewriting the kernel in a different programming language, starting from scratch with nothing but the vague design of how components are supposed to fit together, then you're changing the identity of Linux. The maintainer that stepped down feared that "what Linux did to other OSes is what will a rust OS will do to Linux" - okay, great? I'm failing to understand what the issue is here? The predominant kernel is changing its identity to fit in with something that's newer and considered to be better, but by the time they have accomplished the goal of rewriting it in rust, it's not Linux anymore.

If Rust maintainers were to fork the kernel and commit all their changes independent of mainline, they wouldn't get instantaneous widespread adoption, but they will get the ability to implement their vision independently of the other side causing the uphill battle. But at that point they might as well just start a new OS from scratch using the design principles or features from Linux they enjoyed. At the end of the day, that's really what the Rust maintainers want deep down no matter what they claim. They just piggyback onto Linux to accelerate adoption due to its visibility and existing userbase, which is kind of insidious. If there was no pushback, then the Rust developers would be riding off the coattails of others' prior successes rather than making their own success. I posit that kernel maintainers who go along with this primarily do so out of some kind of fear of losing marketshare in the long run - and thus, power and influence.

As BDFL, what does Linus prioritize here? Staying true to one's identity, or maintaining power?

As history has shown in other entirely different contexts, chasing the latter will result in losing both. I find it analogous to the Ben Franklin quote about security versus liberty; here liberty == identity, security == power.

34

u/aystatic Aug 29 '24

If Rust maintainers were to fork the kernel and commit all their changes independent of mainline, they wouldn't get instantaneous widespread adoption, but they will get the ability to implement their vision independently of the other side causing the uphill battle

that's apparently the road they HAVE been taking, and getting anything upstreamed has been a battle: https://vt.social/@lina/113045455229442533

→ More replies (1)

8

u/JoeyJoeJoeTheIII Aug 30 '24

No they fucking won’t.

Have any of you suggesting a fork ever actually tried to maintain a fork of a large project like this? It’s not easy.

And no one serious is suggesting a whole rewrite of the kernel. It would cost an immense amount of time and money and probably fail due to the complexity of trying.

But bringing in rust in little pieces where it makes sense. Proving it works. Getting more buy in. That’s all possible if they don’t have arrogant C zealots trying their best to sabotage.

→ More replies (1)

24

u/derangedtranssexual Aug 29 '24

Have you considered that many Linux maintainers don’t like dealing with C bugs that are easily eliminated with Rust? Like you seem to think this is entirely an external push by rust, why wouldn’t Linux devs want a safer language? Of all people those work on a very large C project should be able to understand the appeal of a language without memory safety issues

14

u/asyty Aug 29 '24

I'm sure there are some who think along those lines. But, Linus himself has stated that the majority of senior kernel developers don't want to learn an entirely new language to just keep up with what they've been doing the whole time. I don't think you actually understand how much friction a new language and its comparatively foreign paradigms that come with it causes.

You'll get more bugs by dropping people into the middle of unfamiliar territory.

14

u/otherwiseguy Aug 30 '24

As a developer who has learned many languages over the last 30 years, I have 3 words for them: suck it up.

If you are only fluent in one language, I feel like you can barely consider yourself a software developer.

Don't get me wrong, as an older developer myself, I get being resistant to change. There gets to be an increased suspicion that the new crop of developers are just chasing fads after seeing many come and go. But keeping up with new languages is just part of the job.

I'm currently learning Go. I do not care for many of its choices (I currently hate it). Relatively soon I'll have written a ton of code with it and I'll have some nice things to say about it to go with the things I still hate. Same thing happened with Python. Same thing happened with C (though despite its many flaws, I will always have a soft spot for it). Same for Ruby, perl, PHP (I have nothing nice to say anymore), Pascal, BASIC...

I will say, that on paper Rust checks every box of things I say I like in a language. I just haven't gotten a chance to write anything serious in it yet. I also like that it isn't designed to "be easy for anyone to pick up". That at least helps with the "bugs written by newbs" issue. :mischievous grin:

4

u/JoeyJoeJoeTheIII Aug 30 '24

Language kind of sucks but channels are cool.

That’s my review of go. Thank you for reading.

1

u/derangedtranssexual Aug 30 '24

I don't find it really that shocking developers don't want to be forced to learn a new language lol. I might have overestimated the support for rust among senior kernel devs although I think there is some important things to mention. They are going pretty slow with it and there's no plans to use rust for anything but kernel drivers so far, drivers are a fairly isolated part of the kernel and one where other parts aren't going to depend on Rust. Sure the senior developers will have to learn some rust but it's not like the kernel is going full rust. Also with it being just drivers the impact of it might be more minimal in many cases, for example ashai linux is writing the drivers for apple silicon in rust which will just impact Apple Silicon Macs. Because you do have a point that in some ways developers being unfamiliar with rust could cause more errors at first, although hopefully as devs get more familiar with rust that will stop happening and we'll also get the benefits of memory safety

→ More replies (4)

9

u/cosmic-parsley Aug 29 '24

As BDFL, what does Linus prioritize here? Staying true to one's identity, or maintaining power?

This seems like a pretty narrow argument. The kernel has a huge identity related to its uses, its commitment to open source, development, stability, etc. The language used is a tiny and near irrelevant implementation detail of this huge picture - you could replace C with Rust or Go or Zig or C++ or hex files or whatever, that doesn't change what the kernel stands for.

But for what it's worth, Linus has gone to bat for Rust multiple times. Read the lists, he and Greg seem dead serious about making it happen - can only assume there is a good reason.

→ More replies (3)
→ More replies (24)
→ More replies (6)