r/linux • u/unixbhaskar • 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-Down24
Aug 29 '24
There's LWN article Rust for filesystems about the conference video mentioned in other comments.
136
u/McLayan Aug 29 '24
Just looking at the comments on the phoronix article makes me never want to work on the linux kernel even though I'm a huge fan of linux systems. As soon as Linus' generation retires the project will have extreme difficulties to find people willing to work under such conditions.
125
u/gerx03 Aug 29 '24
Just looking at the comments on the phoronix article
a few pages in they are talking about who's woke and who isn't
you can't make this up
33
u/pusillanimouslist Aug 29 '24
I’m not sure when it’s safe to say that a culture war term has jumped the shark, but surely “being used in an argument among programmers about programming” is well past that point.
20
u/KerPop42 Aug 29 '24
Oh, "because of woke" has been a joke in my circles for a while now.
"You can't even walk down to the store and buy a sandwich with cash anymore"
"because of woke"
"because of woke"
2
u/el_muchacho Aug 31 '24
One of the characteristics of right wingers is they astroturf and politicize every subject they can. They started decades ago with science, then medecine, why not stop there ? They are on a crusade, so everything is judged at the helm of their ideology. Nevertheless, these are loud mouths. I don't think this ideology is pervasive at all in the Linux community.
63
Aug 29 '24
Moronix comment section always makes /r/linux look like a civilized and calm place for well informed discussions in comparison. That's an achievement on its own...
→ More replies (3)7
u/Misicks0349 Aug 30 '24
im not surprised, the phoronix fourms always seem to attract a certain...crowd
18
u/pusillanimouslist Aug 29 '24
My first thought was “I can’t believe our careers depend on these jerks”.
7
u/darkpyro2 Aug 30 '24
Jesus christ. If my coworkers talked to me like that at work, I would leave too! What the hell? I couldnt get past the second page. The sheer amount of emotion and venom with which they were discussing him and his departure is truly awful.
7
u/the_gnarts Aug 30 '24
Just looking at the comments on the phoronix article
Luckily the intersection of Phoronix readers and Linux contributors is fairly small.
As soon as Linus' generation retires the project will have extreme difficulties to find people willing to work under such conditions.
Greg will take over and he pulls a ton of weight. Plus, he’s got a reputation of being kind and helpful so I actually expect the situation to improve wrt. the next generation of maintainers. Unless you’re involved with a vendor kernel that is. :D
→ More replies (3)8
157
u/picastchio Aug 29 '24
https://lwn.net/Articles/985210/
A related new development: FreeBSD considers Rust in the base system.
“To Kamp's assertion that developers should just use C++, Somers said that he was far more productive in Rust and his code had fewer bugs, too. He said he had used C++ professionally for 11 years, but was more skilled in Rust after six months. The problem, he said, was C++.”
50
u/07dosa Aug 29 '24
BSD "base system" is a large collection of libraries and binaries, and does NOT include the kernel. Also, even when Rust is adopted, they won't export complicated types signature for the sake of interop. AFAICT, even Kent (one of the biggest pro-Rust in the kernel community) wasn't sure if it's a 100% good idea to make it complex.
8
u/nightblackdragon Aug 29 '24
FreeBSD "base system" is everything that is part of the FreeBSD source tree and that includes kernel.
7
u/bl4nkSl8 Aug 29 '24
They said related, they didn't say "to the kernel". Or maybe your point was something else?
4
u/07dosa Aug 29 '24
The in-kernel API from "Rust for Filesystem" have complicated type signature on purpose, and that's probably what brought so much criticism/opposition. The BSD base system would not have the same issue because it's a set of independent projects, where each of them are practically forced to use C ABI that can't support Rust features.
49
u/habarnam Aug 29 '24
The linux kernel is not written in C++, and despite the name, C++ and C are quite different languages.
→ More replies (4)45
u/picastchio Aug 29 '24
I know. Both FreeBSD and Linux don't allow C++ in core kernel. But both are considering Rust albeit push-back from senior maintainers.
42
92
54
u/not_perfect_yet Aug 29 '24
I am so tired and so disappointed that we apparently can't manage conflicts like this, in general.
It's not just a linux thing.
Even if it's irrational mud fighting, that's still a clearly phrased problem and there should be a way to address it.
I don't really have any suggestion, except that that is what I see is happening and I don't think it's just the C side.
:(
→ More replies (4)34
u/acommentator Aug 29 '24
Strong leadership establishing cultural norms of respect and constructive dialogue, paired with prompt removal of group members who do not follow these cultural norms.
(Note that Linus' historical behavior would have caused him to be removed from such a group.)
19
u/Thegrandblergh Aug 29 '24
I've been working with both sides of a very similar problem for years. We have a codebase that is written entirely in C, have a very small number of maintainers attached to it. It's hard for newer developers to get started, and implementing newer features and updates are next to impossible for anyone other than the core maintainers.
What do you do? You have to start somewhere, right? The whole "it's been like this for years and we can't change it due to dependencies" isn't valid in my opinion. The way our software (and the Linux kernel) is right now is a ticking bomb. Who is going to maintain all the broken and leaking systems when you can't? This needs to change. We made the decision to slowly update the codebase part by part in parallel to the old codebase. Yes it was a nightmare at first and demanded resources, but we knew we had no choice as it was getting harder and harder to maintain.
12
u/CreativeGPX Aug 30 '24
Further, I think the point the presentation was meant to make (if it were allowed to happen instead of this weird audience takeover) was simply that the information should live in code rather than in people's heads. The point was that their implementation would put a lot of stuff that only lives in people's heads into the type system so that it's formally, mathematically defined. To be against that isn't just against updating the system, it's against revealing how to use the system.
19
Aug 29 '24
The snippet linked is kind of ridiculous. The presenter is showing they've encoded what the API *already fucking does* in a way that actually makes sense. Then gets berated for doing so.
2
Aug 30 '24
[removed] — view removed comment
8
u/simon_o Aug 31 '24
Maybe you should watch the talk?
4
Aug 31 '24
[removed] — view removed comment
5
u/simon_o Aug 31 '24 edited Aug 31 '24
“The rust team is gonna take care of it” is not helpful
So kernel developers announce that they won't care about breaking the bindings. Binding authors say that's fine, it's their responsibility.
Somehow that's also a problem now? Is there any constructive stance that Linux devs would accept except bindings authors ending their project?
does that mean that ext4 can’t merge changes until rust team fixes their bindings
Eh no? Even if the binding authors wanted that, the ext author already said he will not care about it.
Somehow Linux devs' biggest problem (except the apparent lack of personal hygiene) is that they seem to fight against some imaginary demons they just made up.
They should spend less time having spouting crackpot-worthy opinions and more time at therapist.
→ More replies (3)
115
u/detronizator Aug 29 '24
I watched just 2min and I'm cringing so hard. I know _nothing_ of Kernel internals, but this is not the point.
The adversarial stance of "second class citizenship of Rust" or "we break it, you fix it" is unnecessary and, maybe, done on purpose.
I especially find using expressions that paint Rust as a "religion" purposely bike-sheddy: it's trying to create a parallel with the current state of politics.
My hot take? Mortgage driven development. Probably the average Linux kernel developer, happy to write C for the rest of their life, has the skills to not need a language like Rust to "protect them from themselves". But all they are doing is hinder process to protect their job. Their "status".
Either purge the project of those subjects, or be ready to see an ABI compatible Kernel pop out from somewhere. With enough government support, Rust can go far: memory safety is paramount and no amount of smarts can win against human error.
48
u/really_not_unreal Aug 29 '24
I especially find using expressions that paint Rust as a "religion" purposely bike-sheddy: it's trying to create a parallel with the current state of politics.
I feel like the biggest thing people miss with these sorts of comparisons is the distinction between liking something because it's popular and liking something because it's genuinely good. I've programmed in C and I've programmed in Rust, and the difference in ergonomics and efficiency is night-and-day. I'm more-than-capable of implementing correct code in C, but the code I can write in Rust is far more readable and concise, and is much more likely to be correct the first time around. I don't like rust because it's popular, I like it because it is the best tool I've found for writing correct code.
32
u/insanitybit Aug 29 '24
Probably the average Linux kernel developer, happy to write C for the rest of their life, has the skills to not need a language like Rust to "protect them from themselves".
I wish people understood how not true this is. There's this perception that Linux kernel maintainers are just really good and the reality is that they aren't, they're honestly pretty mid. The really hardcode ones, almost none of them have the skills to do other work because they've been solving extremely niche problems in a single codebase for decades.
16
u/KerPop42 Aug 29 '24
I had a boss like this. She was mid at her job, but well-established. That establishment was threatened by anyone better than her, and she didn't feel like she could grow to match the skill level of a better team, so she drove away anyone that introduced anything she wasn't already an expert in.
Notably, her team was the least developed of the project, most stuck in the past.
→ More replies (2)1
u/kazagistar Sep 08 '24
There is variance, but I don't believe the generic "really good" exists at all, especially not in the irreplaceable sense. People have different specialties. Linux maintainers are good enough, which is totally fine, until some of them run into something that is outside of their specialization, and maybe deal with it poorly.
25
Aug 29 '24
be ready to see an ABI compatible Kernel pop out from somewhere
And that's exactly what I hope will happen. These old farts need something dethronizing them.
1
u/drspod Aug 29 '24
I especially find using expressions that paint Rust as a "religion" purposely bike-sheddy: it's trying to create a parallel with the current state of politics.
What do you think that "bike-shedding" means?
→ More replies (2)
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.
→ More replies (66)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
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))
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.
→ More replies (4)9
u/airodonack Aug 29 '24
You have it a bit switched around. The laugh was because of the dig at Java.
→ More replies (6)2
u/inevitabledeath3 Aug 29 '24
I've seen it argued both ways on if Rust is OOP or not. It has a lot of OOP like features anyway.
25
u/gmes78 Aug 29 '24
"OOP language" is a meaningless term. You can do OOP in C if you want to, just look at GLib and GTK.
→ More replies (1)14
→ More replies (1)30
u/masklinn Aug 29 '24
What “OOP” feature does it have aside from calling struct-associated functions with
.?18
u/N911999 Aug 29 '24
Iirc, encapsulation in terms of visibility modifiers and polymorphism through traits are the features that are generally talked about in that context
29
u/masklinn Aug 29 '24
Neither are OO features, you will find them both in Haskell, and neither in Smalltalk.
→ More replies (16)→ More replies (5)2
u/poralexc Aug 29 '24
It’s type system is sort of ”flat“ compared to classic OOP with inheritance.
I do, however, find myself falling into the same pitfalls as Java trying to remember which obscure JVM class/trait I’m looking for instead of coding.
2
u/Ok_Passage_4185 Sep 01 '24
This feels like a fundamental disconnect between idealists and pragmatists trying to solve the issue that programming languages don't work the way computers work.
There's no silver bullet. And any developer is going to have to fight to get big code changes into the kernel.
3
Sep 01 '24
Ah yes the Linux shitshow. I am sure this way they will attract new future maintainers with all the mailing lists, elitism, (gnu)C89 and general toxicity.
Regarding the linked argument regarding filesystems: The linux "API" is not stable anyway. If something changes, all 50 or so filesystem drivers break anyway. Those written in C are not an exception.
1
Sep 02 '24
Yeah with so many people jumping onto Nix and Rust we might see the future of OS being a combination of a high level API (Nix) contacting a mid level API (Rust) contacting .c and .asm files
10
Aug 29 '24
The crux of the matter seems to be here:
https://youtu.be/WiPp9YEBV0Q?t=1536
Rust and C are two very different beasts, and the whole kernel cannot be expected to revolve around not breaking the rust bindings.
I didn't watch every minute of the video, but the point made by the audience member here is valid IMO, and it's a purely technical point.
I see some comments "they are scared of Rust," or "they are threatening to break bindings to stop Rust development." Honestly that seems a very skewed view to me.
Rust has to prove itself, and those who want to see Rust in kernel modules need to be the ones who "take the pain," rather than expecting everyone else to become a convert and put Rust front and centre (at the inevitable expense of whatever they're currently focused on.)
43
u/simon_o Aug 29 '24
the whole kernel cannot be expected to revolve around not breaking the rust bindings
... which has been assured multiple times throughout the video that this won't be the case.
→ More replies (5)
4
u/ergzay Aug 29 '24
Maybe a dumb question, but is forking the entire linux kernel an option? People in general would much rather write Rust rather than C (speaking as someone who's day job is C) and it's only the "old farts" who prefer to stick with C. I think a Linux kernel fork would allow significant movement and simultaneous deprecation of a lot of the old crusty software that most people don't care about (very old drivers/very old platforms) to reduce the maintenance load.
5
u/darkpyro2 Aug 30 '24
It's definitely an option, but then you would need to put the infrastructure in place to maintain the fork. Linux has a lot of complex processes involved in its development and decision making that will be hard to replicate -- otherwise it would have been forked and competed against a long time ago.
→ More replies (1)
4
u/FunAware5871 Aug 29 '24
So many "I'm not a dev BUT" comments XD
Kernel devs have a very hard time doing what they do, and we're not talking about random lines of code, they literally could break the whole system... Why should they have to take the extra responsibility to keep the rust compatibility or to code in rust? That should be on the rust team, not on them. Of course the two teams would have to communicate and keep each other up to date with development and actually work together... But at this point it'd still not be production ready (as pointed out in the video): anything written in rust could break at any given patch, unless c development is slowed down somehow (or the rust team keeps up with every change on their own).
Don't like it? Good news, it's FOSS: write patches. Can't code? Donate to the devs. Can't? Help the community in any other way (manage messages, coordinate stuff, ask how you can help or come up with something else). Just be helpful in any way you can, no matter how small. As a side note: complaining is not helpful, especially when it amounts to "they should just do the extra work".
To be clear, I've seen modules kept out of tree for questionable compatibility reasons with almost no one complaining, and I don't get how rust support actually got in in its current state.
29
u/Senator_Chen Aug 29 '24
The expectation was that the kernel rust team would maintain the bindings (which, if you'd actually watched the linked talk, you'd know). The reality is that there's a bunch of maintainers who are actively sabotaging that effort by stonewalling patches from rust devs (https://vt.social/@lina/113045455229442533) even if they're just fixes to existing buggy C code, or stating they'll actively sabotage the bindings if they ever get merged (like Ted Ts'o saying he'll go out of his way to merge changes that'll break rust filesystem bindings, and refusing to talk to the kernel rust devs about api changes or even how the existing (undocumented and littered with side effects) filesystem code works).
→ More replies (1)1
u/kazagistar Sep 08 '24
What if people do try to contribute code, but are kept out of the kernel to sabotage their efforts because they are part of the "rust team"? How do you "just code" around that?
2
u/FunAware5871 Sep 08 '24
I never said "just code". Besides, to write a patch isn't just to code and send it for review. It also means to work with the community, raise awareness if it gets blocked for no real reason, and try to do something about it.
I was about to also write about how forks work and how the community factors in (maybe even quoting last month's drama on freedesktop), but I don't relly see why I should skil you the leg work when you're being so obnoxious while outlining your scarse knowledge on the subject.
2
u/Key-Lie-364 Aug 29 '24 edited Aug 29 '24
On the one hand I want to learn rust and be productive in it.
On the other hand it takes years to get good enough at C to contribute to upstream development especially as a Maintainer.
So if you already maintain something in C you realize you need years of investment to get parity with rust.
Tso's point about second class citizenship is from his perspective with alot of responsibility and pressure valid. He doesn't have time to ramp up on rust to the level required to support it in parallel to the enormous amount of work ext fs development requires.
You basically need 1-2 talented and committed trusted rust people per subsystem to manage the bindings. And if that person isn't one of the core maintainers for that block how do you really verify and support the rust interface?
C and ASM are complementary and they do different jobs whereas rust requires maintenance of an interface and aims to do much the same job as C.
I think, realistically you need to build your kernel from scratch in rust or fork(); Linux and make rust the first class citizen of the fork.
Unless alot of developers and companies are willing to invest the better part of a decade in transition, I think rust will wither in upstream Linux.
Edit: rewrite the mm subsystem in rust and then provide C bindings, something like that would be the way but, the reverse of having rust bindings to a C core won't work.
Rust has to deliver something worthwhile on its own and give a well maintained interface to that thing to incentivize it's uptake.
1
1
1
u/isaacgordon2020 Oct 31 '24
I predict no one here actually maintains Linux code in a serious way (neither do I). In fact has anyone here even contributed to a 10 million + line project? You can shit on the Linux devs as much as you want, but unless you’ve built the infrastructure the entire world runs on, you probably need to learn some humility and treat them with respect. The rust devs made some classic mistakes they should never have done:
Renaming the function - if you’re not a maintainer and don’t have the blessing of one, DONT REFACTOR. I see sometimes new engineers who join my company do this but your job day 1 is to make my life easier and contribute, not rename a bunch of stuff to make it make more sense to you and less sense to me since I have it mapped in my memory anyway. They should have kept the name the same in the example.
Getting the behavior exactly correct - there should be no errors in that function. Be paranoid, read tens of thousands of lines of code so you are absolutely sure. Send the patch, months in advance not the day morning etc.
Even considering this, maintaining C object model in Rust is a hard problem and a painful maintenance job, but at least you would earn more trust from the Linux crowd to do that. And they could work with you to do that, show you functions that will have minimum C changes to target first, etc but it seems like they went about this all wrong and just shot themselves in the foot and this Reddit community is also (if they are willing to take self criticism) showing itself to be unserious by how uncharitably they are treating people who are maintaining extremely complex code that runs billions of computers in the world.
1
u/gs_hello Jan 12 '25
Why can't Rust people simply fork the linux kernel and incrementally migrate? Linux distros at some point will switch if it's worthy. Gen Z....
1
u/gs_hello Jan 12 '25
Can't understand why those rust developers can't simply fork Linux kernel and do their own thing without bothering anyone else.
1
u/gcasa Sep 03 '24
What I see is an honest technical review of the proposal. I’m not sure why you guys are saying this is non-technical nonsense when it is very technical. I don’t think anyone has anything against rust here. Technical reviews and discussions are necessarily hard.
→ More replies (1)
1
u/Longjumping_Quail_40 Aug 29 '24
Wouldn’t adding anything with whichever languages require the maintainers to learn something new? The point here seems to be whether the added new things are worth.
For example, if the logic of the type-encoded components is already written informally with some exhaustive documentation, and the compiler/test takes that into account, then the new nuance wouldn’t be worth it. If it isn’t safety critical, it probably isn’t worth it either.
1
-4
u/r2vcap Aug 29 '24
I don't think the behavior of existing kernel developers is toxic or unhelpful. Due to Rust's semantics, it is really hard to match the Rust API with the existing C API. A partial solution is the excessive use of the unsafe keyword, but Rust developers dislike this approach. Therefore, I believe there is a fundamental mismatch between kernel development and Rust APIs, especially considering that the Linux kernel is one of the most important FOSS projects.
-20
u/07dosa Aug 29 '24
Lots of bad mouthing, yet no one acts up.
Write patches, especially you younglings. That's how you move Linux and FOSS. Talking won't change a shit here. People are not here to do right things - they just do what they want and need. Stop blaming others for not delivering the future you want. You deliver your future to your doorstep.
If Rust in kernel is such a great idea, it must be proven practically, instead of being talked through. Write new kernel modules. Write new filesystem. Kent Overstreet does. Roll it on fucking thousand drives for him and help him build something cool.
17
u/Senator_Chen Aug 29 '24
They are writing patches. You can't write a new filesystem in rust because Ted Ts'o is actively sabotaging efforts to create rust bindings for the filesystem APIs. For GPU drivers maintainers have blocked upstream improvements because they're coming from rust devs, and stonewalled basic patches for over a year https://vt.social/@lina/113045455229442533
44
u/throwaway490215 Aug 29 '24
Ah yes, the classic: "if you want a tram, why aren't you laying tram lines yourself?"
17
u/SkiFire13 Aug 29 '24
With the additional "you can't lay tram lines, there's no tram yet that needs them"
→ More replies (7)15
u/bence0302 Aug 29 '24
Pretty good analogy. Most people using Linux don't have knowledge or experience in kernel development, and can't do shit but pray that the kernel developers will be reasonable.
8
u/07dosa Aug 29 '24
People having no experience in kernel development strongly pushing for Rust in kernel sounds really wrong. (I mean, if you really use that as an excuse.)
pray that the kernel developers will be reasonable
They've been more than reasonable with only C. It's just that they rejected the idea that could possibly ease their own pain.
5
u/buwlerman Aug 29 '24
Introducing Rust is not mainly about easing pain for the devs. From what I can tell Linus' main motivation was to try get new blood into the project.
The technical reason is about decreasing the number of critical vulnerabilities, and there is evidence from Google that indicates that replacing C and C++ with Rust in a living codebase reduces the number of critical vulnerabilities.
Vulnerabilities are not just pain for the devs, but for the users as well.
25
Aug 29 '24
This is your response under harassment of contributor? Maybe more people would contribute if they were not harassed? It seems like there is lot of gatekeeping so maybe this is what you want in the end. But if not, if you are really genuine there is time for bit of introspection about toxicity.
→ More replies (1)5
u/Booty_Bumping Aug 30 '24
Kent Overstreet does
Kent Overstreet was one of the speakers who was rudely filibustered in a conference speech by someone in the audience who thinks Rust = Java.
1
u/07dosa Aug 30 '24
And what's wrong with saying "help him build something cool"?
3
u/Booty_Bumping Aug 30 '24
Nothing, of course. But to say talking isn't going to do anything... this is an organizational issue, it can only be solved by talking. One more automated testing system for bcachefs, Asahi Linux, Android Binder, etc. isn't going to make the difference, especially considering barely any Rust code has been written due to struggles in deciding how the two languages should be bridged.
→ More replies (1)11
u/really_not_unreal Aug 29 '24
I'll write a patch when the kernel community gets to a state where I don't get harassed for trying to make the software better.
→ More replies (5)0
-43
u/MooseBoys Aug 29 '24
“nontechnical nonsense” raised around Rust programming language use within the Linux kernel.
Honestly the concerns raised by the critics are entirely legitimate. It may be “non-technical” but it’s not nonsense. Requiring long-time maintainers to learn an entirely new language just to be able to test their C changes deserves all the backlash it gets. As one of the critics concisely put, big changes like this always come with pain, and “pain management” and who gets to incur the pain is critical to consider when proposing these kinds of changes. If your answer to that questions is “all of you have to shoulder the burden”, it’s not at all surprising that the response is overwhelmingly to GTFO.
Does this mean we should never add rust to linux? Of course not. But IMHO when “allocating pain” for the change, the plan should be for 95% of it to lie with the rust devs.
76
u/small_kimono Aug 29 '24
Requiring long-time maintainers to learn an entirely new language just to be able to test their C changes deserves all the backlash it gets.
I think the Rust guys were very clear that's not the case. And I think, when you repeat something like this, you should be clear they never said anything of the sort in the video.
If your answer to that questions is “all of you have to shoulder the burden”, it’s not at all surprising that the response is overwhelmingly to GTFO.
AFAIK that was no one's response? Can you point to where someone expressed this sentiment?
→ More replies (6)30
u/CrazyKilla15 Aug 29 '24
Honestly the concerns raised by the critics are entirely legitimate.
So long as they ignore every actual plan, everything actually said, take everything in the most extreme nonsensical bad faith way, or like here literally just make up a plan to get mad at and then project it on everyone else, and generally engage in an extremely hostile and abusive manner, in bad faith, sure yeah they're legit.
→ More replies (2)40
u/teerre Aug 29 '24
Countless engineers much less decorated, dare I say intelligent, than kernel maintainers learn one, two, three additional languages. This complain specifically is one of the laziest ones imaginable.
→ More replies (7)3
u/MooseBoys Aug 29 '24 edited Aug 29 '24
So you want to tell people who, for the most part, contribute their skills to improving Linux with no compensation and simply don’t want to incur additional burdens based on things they are not passionate about is “don’t be lazy”? Sounds like an excellent way to not have those people be contributors anymore.
I’ve used c/cpp for over 25 years. Could I learn rust? Sure. Do I want to? Not really, unless I’m getting paid to. Would I raise objections to a project I contribute to requiring me to learn it in order to continue making contributions? You bet.
5
u/simon_o Aug 29 '24
for the most part, contribute their skills to improving Linux with no compensation
Not the case here.
Sounds like an excellent way to not have those people be contributors anymore.
Yeah, maybe that's for the best. You know, science progresses one funeral at a time, yadda yadda.
I’ve used c/cpp for over 25 years.
That tribalism seems to be your main problem to be honest.
Also, using C/C++ automatically makes your opinion worth less, I hope you understand that.→ More replies (1)40
Aug 29 '24
Two points:
Many people working on the kernel are employed engineers working on company time. Linux is not a scrappy hobbyist project it used to be 20-some years ago.
A large number of critical vulnerabilities are due to memory errors. Rust provides the machinery to help prevent those. Wanting Rust in the kernel is not an unreasonable ask.
→ More replies (3)6
u/gmes78 Aug 29 '24
Considering that most kernel developers do so as their job, yes, it would be lazy from them to not learn Rust if it's adopted by the kernel.
It's not even hard.
7
u/teerre Aug 29 '24
Yes. It's a not big deal. Countless do it, as already said. In fact it's embarassing that a developer that senior would just shut down learning a new language.
It's also very ironic for to be worried about losing contributors when an attitude analogous to yours just lost one.
→ More replies (4)0
7
u/RetoonHD Aug 29 '24
God forbid they learn a modern language with actual benefits over the ones they learned 50 years ago, oh the horror!
2
u/pachecoca Nov 27 '24
Yeah, sure, for any other job this makes sense, like idk making a web app or some shit, but here we're talking about kernel development... and file system related no less...
Learning a new language is not a problem. Becoming good at that language is a whole different story. If this was not a critical system, then it would make sense to learn the new language and just call it a day. Imagine trying to translate 50 years of C experience into the Rust equivalent in a month or two... all you're going to achieve with that for kernel development is making a big mistake. Specially when it's file system related. This is one of the most dangerous areas to make mistakes. Or do you just enjoy accidentally publishing a patch with some extremely rare edge case that will obliterate all of the files of millions of users across the globe?
I understand the C guy, he's being careful, and the points he makes make sense... and I'm surprised by the Rust community's reaction. For people who tout themselves to love safety, you people sure do love the idea of just jumping in blindly without any care in the world for actual safety.
If you want someone to write Rust code for a critical system that needs to be maintained on the daily, you need to get someone who is actually experienced with Rust and can actually write Rust code without making the Universe explode. Asking the C guys to magically transmute their 50 years of experience in C into Rust experience in like 2 nanoseconds is only going to cause issues down the line... and, ofc, if you do want to include Rust code, you can't just step all over the C code. Not because C is magical or some kind of mythical being that has to respected or some language religious bullshit. No, the reason is because there's decades worth of code there that can't be magically translated from one day to the other into Rust. If we could, we would. Sadly, we can't. I expect that even Rust devs can understand this to be a fact and not "non technical nonsesne"...
→ More replies (3)
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.