this post was submitted on 21 Feb 2025
401 points (99.8% liked)

Linux

50382 readers
1401 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/25857381

Hellwig is the maintainer of the DMA subsystem. Hellwig previously blocked rust bindings for DMA code, which in part resulted in Hector Martin from stepping down as a kernel maintainer and eventually Asahi Linux as a whole.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 45 points 1 day ago (2 children)

A lot of people commenting on this seem to have gaps in their knowledge of what happened. I highly recommend reading the linked email, as it is both short and has valuable context.

[–] [email protected] 6 points 1 day ago

A lot of people commenting on this seem to have gaps in their knowledge of what happened

We're in a Linus-email-🍿-thread, so that kind of goes without saying doesn't it? 😂

[–] [email protected] 10 points 1 day ago* (last edited 1 day ago) (1 children)

Is there an easy way of seeing the preceding emails in a threaded format?

I read some posted yesterday that were related but it's damn confusing whether the conversation has been active in between?

https://feddit.uk/comment/15366243

[–] [email protected] 6 points 1 day ago

On the bottom of the page you have a tree representation of replies, with clickable links to each message. The layout might not work well on mobile with limited screen width though, but you can just click through them.

[–] [email protected] 188 points 1 day ago (2 children)
[–] [email protected] 29 points 1 day ago (1 children)

I really appreciated him saying 'I don't want yes men, I need people to call me on my bullshit, but I'm calling you out on yours'.

I read through the next few replies, and it seems like the anti-rust maintainer just has an axe to grind and can't stand people working in a language they don't understand.

[–] LeFantome 7 points 21 hours ago

He understands Rust and claims to like it. He simply disagrees with the decision to have a mixed language kernel and is trying to unilaterally stop it from happening.

[–] LeFantome 116 points 1 day ago* (last edited 1 day ago)

He is totally correct and it is great to see him finally step in to settle this drama. Hopefully it will reduce the level of noise going forward.

[–] [email protected] 77 points 1 day ago (2 children)

People really afraid of Rust out here.

[–] [email protected] 9 points 1 day ago (1 children)

I can relate. I can emphasize with someone who's learned every nuance of a language, and after 30-40 years suddenly these kids come in with their strange hieroglyphics slowly replacing everything you've worked on.

[–] [email protected] 21 points 1 day ago

Except that's literally the reality with computers. Everything evolves and things go obsolete. I'm sure the COBOL and Fortran programmers were pissed when the kids started using C too.

[–] [email protected] 18 points 1 day ago (6 children)

It literally wasn't about Rust specifically though. Christoph literally said it was about anything that was not C, including assembly, C++, brainfuck, or whatever, entering the kernel. Christoph likes Rust. Christoph (rightfully) does not like mixed language codebases for projects as large and important as Linux

[–] [email protected] 24 points 1 day ago (1 children)

(rightfully) does not like mixed language codebases for projects as large and important as Linux

You make it sound like it's a matter of taste rather than a technical one (and I suspect it actually might be just about taste in the end)

[–] [email protected] 2 points 1 day ago

Its a little of column A, little of column B type situation.

Yes, some of it is his taste, but that taste is coming from a technical place. Primarily long term maintainability of the project.

I realize what Linus came out and said outlines that no code is entering Christoph's part of the project, but Christoph is playing goalie and needs to make sure that never happens in order to keep everything working correctly for a very long time.

Maybe the DMA module gets rewritten completely in Rust one day, but until then, rust modules interfacing with a C-only component seems to be the best for long-term maintenance.

[–] [email protected] 16 points 1 day ago

Not his call, as we can see now

[–] [email protected] 9 points 1 day ago (4 children)

But isn’t this in specific just about bindings?

load more comments (4 replies)
load more comments (3 replies)
[–] [email protected] 6 points 1 day ago (2 children)

Are we hating on Linus here or agreeing with him? I'm so out of the loop.

[–] LeFantome 19 points 1 day ago
[–] [email protected] 4 points 22 hours ago

Excuse me sir why would You ever disagree with our king linus

[–] [email protected] 11 points 1 day ago (2 children)

Anyone got more context on this I can read through? I haven't kept up with this other than Linus's notorious attitude.

[–] [email protected] 16 points 1 day ago* (last edited 1 day ago) (10 children)

Someone submitted some code to the Linux kernel. One of the maintainers repeatedly denied it for no reason other than it contained code that is not C. A different contributor became very angry, lashed out publicly on social media, accused the maintainer of sabotaging R4L for no technical reason, then removed themselves from the project. They were also the founder of Asahi Linux and resigned from that as well.

It's nothing to do with Rust, specifically.

[–] [email protected] 13 points 1 day ago (1 children)

Marcan is not the submitter. Unless I've missed something, the submitter is still working on the patch.

load more comments (1 replies)
load more comments (9 replies)
[–] [email protected] 14 points 1 day ago (2 children)

It's mostly in that linked thread. The high level of it is a guy wanted to push Rust code. The maintainer said no it would mean the API for this would be tied to Rust and that is unacceptable. It cause another big contributer to throw a fit and Linus said he can't be everyone's mom. They kept fighting for like 2 months apparently? Now Linus stepped in, looked at the code and said the Rust code clearly doesn't impact the API in the way the maintainer was saying it just breaks itself if the maintainers allow changes to the API.

I kinda dislike the idea that it's cool for people to contribute code that is so easy to break. I have a feeling after it happens a few times they are going to claim that it is being done intentionally and that the slap fights will carry on.

[–] LeFantome 40 points 1 day ago (5 children)

I do not know why you say it is easy to break.

The Rust team are maintaining their side. I do not expect it to break. And the C code that the Rust code depends on is used by lots of other code. It should be a stable interface. Changing the C code just to break the Rust code would break a lot of C code too and upset a lot of folks.

And the who point is to create a more idiomatic interface on the Rust side. So, even if the c interface does change, it may only be a small amount of Rust code that needs to change in response.

load more comments (5 replies)
[–] [email protected] 8 points 1 day ago

Thanks for the summary, I did a bit of reading myself. It's interesting the dynamics at play here - you've got a long, long term contributor in Hellwig who's been a maintainer since before Rust even existed, then you've got quite a few people championing Rust being introduced into the kernel. I feel like Hellwig's concerns must have more to do with the long term sustainability of the Rust code - like will there be enough Rust developers 10, 20, 30 years down the line. I mean, even if it stays maintained, having multiple languages in a codebase increases complexity and makes it harder to contribute. Then you have Filho resigning from the Rust for Linux project, which in itself kind of calls into question the long term sustainability of the project. It seems like Rust would have quite a few benefits for the Linux kernel, but the question remains of if it's still gonna be any good in a few decades. This is juicy stuff!

load more comments
view more: next ›