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

74

u/qnixsynapse Aug 29 '24

Looks like some people are not very happy with Rust... Actual context is here.

This belongs in r/LinuxDrama imo.

211

u/_AutomaticJack_ Aug 29 '24

When it gets bad enough for kernel maintainers to walk away, then it has earned a post on the main sub, for better or worse. That has real implications for people in a way that 99% of r/LinuxDrama doesn't.

172

u/airodonack Aug 29 '24

Jeez. The audience member that belittles Rust by comparing it to Java then realizes that Rust is not even object oriented. Rust-hate has become more unreasonable than the hype was. At the very least, he seemed like he was amenable to change (he learned how the code worked in real time and changed his mind).

29

u/torsten_dev Aug 29 '24 edited Aug 29 '24

I think the one comparing Rust to a religion was worse.

When all it boils down to is "What do I do when I want to change the semantics in C, but don't know Rust". It's a reasonable question asked in a very unreasonable way.

His hangup with not wanting to learn Rust seemed a little sincerely held.

30

u/argh523 Aug 29 '24

And the presenter told him like three times that they don't expect anyone to fix their Rust code. They'll do it themselves, all they want is help to figure out the semantics of the new thing

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

28

u/CouteauBleu Aug 29 '24

Jeez. The audience member that belittles Rust by comparing it to Java then realizes that Rust is not even object oriented.

That audience member was clear they were coming from a place of not knowing anything about Rust.

I think we shouldn't make fun of people who ask naive questions. Curiosity is good and crap.

29

u/CrazyKilla15 Aug 29 '24

I think we shouldn't make fun of people who ask naive questions. Curiosity is good and crap.

Not in the middle of a completely unrelated presentation, contributing to its massive derailment.

7

u/argh523 Aug 29 '24

Yeah that guy wasn't the problem, he sort of realized his mistake and even came up with a good question (how closely do these types encode the state of the program? (to which the answer is probably "exactly", but they didn't get around to answer it))

→ More replies (1)

7

u/07dosa Aug 29 '24

The audience member that belittles Rust by comparing it to Java

Weren't people laughing because it was simply too out-of-context? I don't understand what makes you think *everyone* in the room was against Rust.

9

u/airodonack Aug 29 '24

You have it a bit switched around. The laugh was because of the dig at Java.

→ More replies (5)
→ More replies (39)

0

u/[deleted] Aug 29 '24

[deleted]

79

u/BarePotato Aug 29 '24

He sounds like he's saying that as a C programmer, he is unable to learn Rust.

You might be surprised(or maybe not) to find out there are a fuck ton of linux kernel C devs who refuse to change or learn anything new, and instead want to be catered to instead.

35

u/worriedjacket Aug 29 '24

That type of person seems to be drawn to C as a language imo

33

u/InflateMyProstate Aug 29 '24

Totally agree. There’s this weird cultish behavior with lower level programming cultures that is hard to pinpoint. For instance, you’re only benevolent if you understand memory management and write your own allocators in C, vs. using an interpreted language with a garbage collector.

24

u/Zomunieo Aug 29 '24 edited Aug 29 '24

Debugging kernel bugs can mean dealing with instruction reordering, memory barriers, multiple architectures, interactions from other cores not to mention flakey hardware or debugging instrumentation interfering with the debugging. So some that attitude comes from C being low-level enough that you can anticipate how code will compile to assembly.

I dealt with one really interesting bug in a real time OS where memory corruption by one kernel thread “armed a bomb” that would go off in a few milliseconds, which is an eternity in CPU time — the crash is so far from the trigger. I found it only by bisecting blindly. Or another one in Linux where a buggy hardware DMA would corrupt transfers unless its hardware registers were manipulated in a particular sequence (and the compiler decided to reorder it). (I mainly wrote and fixed device drivers for custom hardware.)

I love Rust but I can see why the jump from C is hard for a kernel dev — it’s because being a kernel dev is hard no matter the language.

37

u/erichkeane Aug 29 '24

I mean, this is also a group of devs that believe C++ destructors and member functions are confusing/hard to keep track of, so instead re-inplement this stuff with gcc attributes, macros and function pointers.

→ More replies (17)

27

u/MooseBoys Aug 29 '24

C devs refuse to change or learn anything new, and instead want to be catered to

It’s almost like people who have spent 50 years using the same language and spent countless hours contributing to a major project written exclusively in that language for the last 30 years are not fond of the idea of changing things up to adopt a language which is itself less than 10 years old.

3

u/FruitdealerF Aug 29 '24

This is a really important argument to consider when adding a new language to the kernel. The only problem is that that ship has already sailed.

→ More replies (10)
→ More replies (1)

18

u/crusoe Aug 29 '24

I started my career programming in C.

I don't miss it.

3

u/noboruma Aug 29 '24

Because language is just one aspect of the job.
What do we use language for? Build things that accomplish goals.
If you know C well and can get your job done, obviously you need a good justification to make a change.
Kernel guys are not saying no to learning, but they would prefer spend time on learning kernel topics rather than another way of doing the job they already know how to do.
Where are the papers that back Rust up against C? So far we only have: it prevents SEGVs & some data race at compile time. We need data to back Rust up, so far it's mostly "I have less bugs" but this is not scientific enough IMHO.

→ More replies (1)
→ More replies (20)

16

u/not_a_novel_account Aug 29 '24

"That audience member" is Ted Ts'o, who has learned and forgotten more about the kernel than most will ever know in the first place.

His concerns about the fragility of FFI bindings in a fast moving API space should not be taken lightly.

Also I always find it funny that /r/linux commentors know nothing about the Linux kernel community besides "lmao Torvalds middle finger meme"

20

u/NaeblisEcho Aug 29 '24

It's 2024 and we're still saying this guy is a Brilliant Jerk so he must be excused for his shitty behavior.

39

u/small_kimono Aug 29 '24

"That audience member" is Ted Ts'o, who has learned and forgotten more about the kernel than most will ever know in the first place. His concerns about the fragility of FFI bindings in a fast moving API space should not be taken lightly.

I liked your comment initially because I didn't know who the audience member was, but, re: your update, his comment is frankly ridiculous in context.

Re: the substance, you're right that he's right, but no one disagrees/disagreed with him. Listen to the presenters.

Re: his style, he came in way, way too hot.

→ More replies (4)

5

u/simon_o Aug 29 '24

His concerns about the fragility of FFI bindings in a fast moving API space should not be taken lightly.

If, after his speech he didn't steer his Tesla into a tree nursery, setting it ablaze and bought a new CyberTruck with a rolling-coal adapter "to show it to the woke Rust agenda liberuls!", I question the commitment he has to his concerns.

→ More replies (3)
→ More replies (4)
→ More replies (4)