365
submitted 5 months ago by ray@lemmy.ml to c/opensource@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] semperverus@lemmy.world 107 points 5 months ago

I am so glad Linus just came out and said it. I was pretty upset at Hector too in the other thread the other day, and I especially didn't appreciate a call to remove a major developer from the kernel because Hector wasn't getting his way. Very militant action on Hector's part where it just wasn't necessary.

Hector, if you're reading this, communication skills are just as if not more important than your Rust development skills, and frankly your communication skills lack.

[-] chebra@mstdn.io 38 points 5 months ago

@semperverus Just from the small interactions I had with Hector on mastodon I can see he gets very unreasonable about small things and does not accept the possibility that he may be wrong, despite evidence. So leaving linux and mastodon because of rust is totally on brand for him.

load more comments (1 replies)
[-] DacoTaco@lemmy.world 31 points 5 months ago

You seem to be in the loops of the linux kernel?
If so, ive known hector from way before when we was part of f0f, or TT as they were known before, doing wii homebrew work.
What you describe is what my experience was with him 14 years ago too. The guy is smart, he has a very good skill set and knowledge, but his communication skills were lacking back then too.
Granted, both he and myself were still teenagers and students and we were wild, but i had always assumed he grew up a bit since then...

What you said is spot on, and i hope he does read both of these. And if he does :
Marcan, you might not know who i am anymore, but ffs man. Dont screw up your love for all of these by keep kicking the hornets nests. You did it with devkitpro, emudevs when the nier news dropped and with rossman too. Stop it, its for your own good.

[-] uis@lemm.ee 8 points 5 months ago

and with rossman too.

I decided to read replies: wierd, they suggest accusation is overblown.

I decided to read context: WTF is this?! Unholy shit, dear Faust, what did I read? What a deflection!

I thought I was terminally online with mental disorders, but this makes me look most grass-touching and sanest person.

[-] WalnutLum@lemmy.ml 29 points 5 months ago

I can understand their frustration, having multiple other rust for Linux project maintainers quit over nontechnical rust aversion.

And Linus continues to (democratically?) avoid the subject with this response.

As a rust for Linux volunteer you have to be incredibly demoralized reading this mess almost every other month.

[-] catloaf@lemm.ee 19 points 5 months ago

So now we've lost a very good developer, and the question of rust in the kernel remains unresolved. This is the worst possible outcome.

[-] semperverus@lemmy.world 76 points 5 months ago* (last edited 5 months ago)

Part of being a good developer is the "working well with other human beings" part. Linus himself took a hiatus to improve himself in this area.

Another part of being a good developer is to work within and adapting to the frameworks of an existing project, especially if you are joining at a later point. In this context, it would be the R4L folks joining the project known as "the Linux kernel."

Hector failed on both counts. He has programming skills, but that's not all that's required.

[-] catloaf@lemm.ee 22 points 5 months ago

Sure, and part of being a good manager is to, you know, manage. It shouldn't have gotten to the point that marcan is going outside the list to try to get something done. Linus (or someone else with authority, I'm not familiar with who else is managing it) should have stepped in much earlier to head off the drama. It was a very simple question.

Rust in the kernel is already established and part of the mainline kernel. It's extremely pretty and wholly inappropriate to reject code just because it's written in rust.

[-] semperverus@lemmy.world 17 points 5 months ago

If you had read Christoph's reasoning, it wasn't "just because it's written in Rust." He actually gave some decent technical reasoning for it that went beyond his original personal outburst (which I hold him to the same standard as Hector for, but he did shore up later and fixed his communication).

[-] Muehe@lemmy.ml 20 points 5 months ago

How do you figure?

The only two "technical" arguments I could see were firstly that code should

[remain] greppable and maintainable

which unless I'm missing something boils down to "I don't speak Rust", and secondly that

The only reason Linux managed to survive so long is by not having internal boundaries, and adding another language complely breaks this

which unless I'm missing something boils down to "I don't speak Rust", because ain't nobody trying to add any other languages to the Linux code base.

Surely this can't be the "decent technical reasoning" you are referring to? I have to admit I don't follow kernel development that closely, but I was under the impression that integrating Rust into the code base was a long discussed initiative having the "official" blessing of the higher ups among the maintainers by now, so it seems odd to see it opposed in such harsh terms by a subsystem maintainer here:

I absolutely support using Rust in new codebase, but I do not at all in Linux.

[-] DacoTaco@lemmy.world 10 points 5 months ago* (last edited 5 months ago)

You and i read different things. I hated how he worded them, but his arguments at greppable and understandable are valid arguments that go beyond rust and if he can read it or not or refuses to.
Mixing languages in a part of a project brings complexity and is often a huge ass nono because it makes things unreadable and hard to manage on a large scale.
He also argues that a c interface exists to connect 2 parts of a system. The person that changes the interface should not have to alter the users of that interface, if they do then you get intertwined dependencies, which is a huge ass red flag for developers that something has gone terrible wrong and the project is not going to scale or will be easy to change.
So if he changes the interface, the rust team will need to fix it, specially since they are the minority.
That also doesnt mean he can change it in whatever way without worry, it is an interface change, that needs discussions and approvals ahead of time ofc.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)
[-] Gayhitler@lemmy.ml 89 points 5 months ago

https://lore.kernel.org/lkml/20250108122825.136021-1-abdiel.janulgue@gmail.com/

Here’s the source thread.

Tldr: someone wants to put rust in the dma part of the kernel (the part that accesses memory directly)(it’s a memory allocator abstraction layer written in rust which rust code can use directly instead of dealing with the c allocator abstraction layer), is told that rust should use the extant methods to talk to the c dma interface, replies that doing so would make rust programs that talk to dma require some more code, gets told “that’s fine. We can’t do a split codebase”. The two parties work towards some resolution, then hector martin comes in and acts like jerk and gets told to fuck off by Linus.

Martin is no lennart poettering but I don’t try to see things from his perspective anymore.

It’s worth noting that Linus’ “approval” of rust in the kernel isn’t generally seen as a blanket endorsement, but a willingness to see how it might go and rust people have been generally trying to jam their code everywhere using methods that rival the cia simple field sabotage manual.

I don’t think it’s on purpose (except for maybe Martin) but a byproduct of the kernel maintainers moving slowly but surely and the rust developers moving much faster and some seeing the solution to that slow movement as jamming their foot in the door and wedging it open.

[-] verdigris@lemmy.ml 36 points 5 months ago

To be fair, I'm not sure how "I will do everything in my power to oppose this" is the anti-Rust side "work[ing] towards some resolution"...

[-] Gayhitler@lemmy.ml 31 points 5 months ago

That’s tame for the kernel mailing list lol.

The context is that hellwig doesn’t want another maintainer or deal with a split codebase in the dma subsystem which I honestly agree with.

If I were a maintainer in that position I’d be barring the doors too. It’s not a driver for some esoteric realtek wireless card or something.

Even if I didn’t agree with that position it’s normal to only post on the kernel mailing list about shit you actually care deeply about because it’s public and aside from all your fellow devs taking the time to read what you wrote, psychotic nerds like myself watch it and will try to read the tea leaves too!

[-] FooBarrington@lemmy.world 11 points 5 months ago* (last edited 5 months ago)

If I were a maintainer in that position I’d be barring the doors too. It’s not a driver for some esoteric realtek wireless card or something.

This effectively kills R4L. If they can't include Rust Interfaces for important subsystems, each driver written in Rust that uses these subsystems has to separately track all the Subsystem Interfaces, leading to lots of extra work for no benefit.

If this is the approach Linux takes, they should just cancel R4L completely.

load more comments (2 replies)
[-] uis@lemm.ee 15 points 5 months ago

https://lore.kernel.org/lkml/293df3d54bad446e8fd527f204c6dc301354e340.camel@mailbox.org/

General idea seems to be "keep your glue outside of core subsystems", not "do not create cross-language glue, I will do everything in my power to oppose this".

load more comments (4 replies)
load more comments (4 replies)
[-] princessnorah 13 points 5 months ago* (last edited 5 months ago)

Except you're wrong about them wanting to put Rust code in the DMA subtree. As per the article linked below by M1ch431:

In a message to the Linux kernel mailing list, Hellwig wrote: "No Rust code in kernel/dma, please." For what it's worth, the patch added code to the rust/kernel portion of the Linux source tree, not kernel/dma, as far as we can tell.

All they were doing is adding an abstraction layer, within the already existing Rust code, so that rust drivers could communicate with the C DMA code in a uniform and predictable manner. It would have put far more work on maintainers, both C and Rust alike, to have each and every driver implement its own abstraction to the DMA API. Issues would have been/will be filed against the kernel/dma subtree in error due to issues with these myriad abstraction layers.

load more comments (2 replies)
[-] M1ch431@lemmy.ml 10 points 5 months ago* (last edited 5 months ago)

trying to jam their code everywhere using methods that rival the cia simple field sabotage manual.

I am aware of the manual, but I fail to see how adding to a codebase is "sabotage" if it's all generally seen as fine by the project lead - it's far from a hostile takeover.

Would a CIA saboteur even want memory safety as a rule? Just speculating, but I'd say that's unlikely.

Edit: I changed the order of the sentences, as it was not intentionally ordered, and slightly clarified my second thought.

[-] Gayhitler@lemmy.ml 10 points 5 months ago

I don’t think the ends are those of the cia, and I didn’t say that the means were either, only that they were similar to those in a famous mid century guide for those trying to halt or hijack organizations.

I don’t think the rust devs are a cia opp, before you ask. I think some rust devs and even proponents of rust who only cheer from the sidelines are sometimes behaving in ways that raise red flags. I think it’s natural and laudable that the existing devs and maintainers are alarmed by that same behavior. It’s their job.

I also think Linus position on rust has been stretched to the point of breaking and I personally find it hard to take positions seriously that distill the complex process of integrating new languages into a very old very large codebase with many full time developers into “Linus said I could”.

load more comments (6 replies)
load more comments (1 replies)
[-] conditional_soup@lemm.ee 58 points 5 months ago

FTA: "However, I will say that the social media brigading just makes me not want to have anything at all to do with your approach.

"Because if we have issues in the kernel development model, then social media sure as hell isn't the solution. The same way it sure as hell wasn't the solution to politics.

"Technical patches and discussions matter. Social media brigading - no thank you." -Linus

Yeah, I have to issue an unqualified agreement here. Linus isn't saying no to Rust, he's smackin' that ass for bringing drama out into social media instead of working through it in normal technical discussion channels.

[-] catloaf@lemm.ee 20 points 5 months ago

It sounds like he tried that, and nobody with authority responded until he went outside the list. Even now, Linus hasn't actually answered the question of whether more rust code should be allowed.

[-] h4x0r@lemmy.dbzer0.com 17 points 5 months ago

No offense, but reading through the comments it's apparent you're not very familiar with systems programming nor linux development. This is a common problem with vocal 'rustaceans', rust is their hammer regardless of the domain.

Although considering rust is prudent, there are still a ton of advantages to using C for systems programming. It is not a binary choice, there are pros and cons, and every project should choose what aligns with their priorities.

No one has ever stated that linux will be in the kernel. It was 'go ahead and give it a shot', which includes convincing maintainers to accept your patches. Linus has delegated trust to subsystems maintainers and an established process.

Hellwig could have been more tactful, but like it or not, arguments against a cross-language codebase have merit. Framing it as a 'clear confession of sabotage of the r4l project', attempting to weaponize the CoC, and trying to drum up an army via social media was all out of line.

Success was never a given, if they want r4l to succeed then they have to get patches approved and crying wolf ain't gonna cut it.

load more comments (1 replies)
[-] yozul@beehaw.org 8 points 5 months ago

I don't know how "whether more rust code should be allowed" is even a question. What, do you think they're going to just cut all the rust developers off or something? Linus has always been a move slow and don't break things kinda guy. Why should allowing rust into the kernel suddenly change that now? What is there to even answer?

load more comments (6 replies)
load more comments (4 replies)
[-] GammaGames@beehaw.org 37 points 5 months ago

The quote he replied to:

If shaming on social media does not work, then tell me what does, because I'm out of ideas.

Yeah, lol

load more comments (1 replies)
[-] prole 29 points 5 months ago* (last edited 5 months ago)

I'm relatively new to Linux and the FOSS scene, but I'm not sure how I feel about the unquestioning devotion to a single person. It seems antithetical to the entire philosophy.

Even if he was maybe right this time...

The dude did a complete 180 as soon as they heard from Linus, like daddy made his decision, and it's final, or some shit...

Edit: To be clear, I understand why developers respect and listen to Linus... I just think there are fundamental issues with this kind of top-down management of such a colossal project, and the desire to defer to one person seems antithetical to the FOSS philosophy.

[-] digdilem@lemmy.ml 40 points 5 months ago* (last edited 5 months ago)

I don't think it's blind devotion - most of us would acknowledge the guy can be a bit of a dick sometimes.

But we're also grateful. Without his silly idea in the 90s, linux wouldn't exist. Computing today would be massively different - big, commercial, massively expensive unixes like Sco and Solaris dominating the industry. My main hobby for 20 years would be very different. My career for six years wouldn't exist.

That Linus has stayed an actively contributing member whilst not selling out in any way at all for 34 years is... wow. Could you do it? I'm certain i couldn't. I have neither the ethical strength nor moral compass to do it. And I'm certain if he dropped out, some of the massive egos that satellite around Linux, or the monetizing businesses would seek to take over and twist it to their needs.

And, y'know, on the matter of technical detail like this. He's nearly always right. Seriously, look it up. He's not polite, he's not diplomatic, but he's nearly always right. And when he's not, he'll admit it. Again, not your normal human.

So yeah, that's why we respect him and, when he talks, we listen. Even if it's not something we're involved with, it's usually an interesting ride.

load more comments (3 replies)
[-] MentalEdge@sopuli.xyz 23 points 5 months ago* (last edited 5 months ago)

If Linus genuinely went off the rails, the kernel would just get forked. Even right now, if the way the mainline project is run doesn't work for someone or what they are doing, that can and does happen.

Linus has power because the people who contribute to the project allow it, and they allow it because over the years he has consistently endeavoured to make decisions based on what is in the best interest of the project. People want him in charge, because he has done, and keeps doing, a really good job.

He hasn't always been nice to deal with, and he can get spicy when he puts his foot down, but whem he does, its not on a whim. And if he's wrong, and you can articulate why and how, in good faith, he won't ignore the logic of what you are saying out of some childish sense of pride.

load more comments (1 replies)
[-] ILikeBoobies@lemmy.ca 16 points 5 months ago

It’s just respect

[-] priapus@sh.itjust.works 9 points 5 months ago* (last edited 5 months ago)

Its not antithetical to the Foss philosophy. Thus happens because Linus is a trusted figure, something he's absolutely earned. He didn't just buy control of some product, or get promoted to this position by a company. Many great open source projects have a BDFL. If people lose their trust in the projects BDFL, they fork the project.

Also, the kernel is really just one part of Linux. Distros include a whole bunch of software they choose to deliver a full OS (hence the Gnu+Linux people). Linus doesn't have control over the OS as a whole, just the kernel.

Edit: Just finished reading the chain, what do you mean the dude did a 180? He expressed frustration that Linux only criticized him, further criticized the issues with the kernel development process, and said he was giving up being part of the kernel.

load more comments (3 replies)
load more comments (3 replies)
[-] JayDee@lemmy.sdf.org 21 points 5 months ago

This whole thing reads not like a codebase versus, but a traditional engineering approach (don't act like you can patch this once you release it - get it done so it's stable the first time) versus the more modern "move fast and break things" approach.

[-] SorteKanin@feddit.dk 11 points 5 months ago

Honestly I kinda wish the Rust devs would rather go and support a project like Redox OS and then maybe we can have less drama about all this.

[-] 7rokhym@lemmy.ca 11 points 5 months ago

Rust people are so annoying.

[-] GnuLinuxDude@lemmy.ml 22 points 5 months ago

counterpoint: stonewalling c programmers are so annoying.

load more comments
view more: next ›
this post was submitted on 08 Feb 2025
365 points (100.0% liked)

Open Source

39404 readers
378 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS