this post was submitted on 07 Feb 2025
180 points (98.9% liked)

Linux

49738 readers
679 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
 

Following arguments on the Linux kernel mailing list the past few days over some Linux kernel maintainers being against the notion of Rust code in the mainline Linux kernel and trying to avoid it and very passionate views over the Linux kernel development process, Asahi Linux lead developer Hector Martin has removed himself from being an upstream maintainer of the ARM Apple code.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] -5 points 3 hours ago (1 children)

Linus needs to step back again. He's a liability to the kernel's long term sustainability.

[–] [email protected] 1 points 33 minutes ago

nope, Tim Cook should step down

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

The anti Rust bullshit is gonna kill Linux's growth.

[–] [email protected] 6 points 16 hours ago

Meh, it's just internal politics. Whether or not it's rust makes no difference to the layperson whatsoever. I'm in favour of rust but don't blow it out of proportion.

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

it seemed like the innocent(ish) holy wars of the past like emacs vs vi; but it's taken on a whole new destructive trajectory of its own and the old guard would rather see Linux ossify into irrelevancy rather than letting the next generation take over.

it reminds me of an old quote from a general to the effect of: if 5 americans survive a nuclear war and 4 russian survive; then we've won and it was worth it.

either that or it's like the technological equivalent of the the democratic leadership w disaffected democratic voters leading to defeat in this last election or an elderly driver whose grown children are trying to take away their keys before things get worse; all are refusing to acknowledge the writing on the wall because they think they still got it, but they don't.

[–] [email protected] 4 points 21 hours ago

Ossify is up there with moist in my list of favourite words.

load more comments (1 replies)
[–] [email protected] 15 points 22 hours ago* (last edited 21 hours ago) (4 children)

Rust seems to be imperative for security. I hope people in the Linux kernel community put aside their differences and find common ground for the benefit of everyone.

From my perspective as an outsider, there is a lot of apparent hostility and seemingly bad faith engagements going on in this space. Hopefully the reasons are innocuous like them just not wanting to learn a new language, to avoid increasing their workload, or to simply avoid working with the Rust team for whatever reasons they might have.

I would argue that anybody standing in the way of progress and increased security should be moved out of the way. No need for shaming or deep dives, just move the ship forward.

[–] [email protected] 9 points 10 hours ago* (last edited 10 hours ago)

Hector posting it to social media, and by his own admission, to shame the C devs, is pretty hostile and bad faith too. Imo it's the most overt occurrence of hostility here, but no one seems to mind? Are people just completely numb to social media hostilities or smth?

[–] [email protected] 2 points 10 hours ago

Does the kernel not need a lot of memory unsafe Rust code? There is a way to bypass the safety nets and I heard that for stuff like kernel development that is necessity.

[–] [email protected] 15 points 18 hours ago (2 children)

The crucial point is that the people who can work on the kernel now itself are

  • c people who don't know rust yet
  • c people who know rust well

The moment we get rust in there, the people who can work on the kernel reliably as a whole are

  • c people who know rust well

That's a much smaller group than the one above.

Here's the point: THE SAME ISSUE would arise if it were D, or some kind of compiled python, object-oriented bash static objects, if that existed; or anything. Whatever the other language was, it'd present the same risk.

Rust people: it's not about you. It's about splitting the codebase.

[–] [email protected] 3 points 16 hours ago (1 children)

I always thought kernel devs were smart people. I'm kind of shocked learning a new language is this big of a barrier to them.

[–] [email protected] 4 points 11 hours ago

Even “smart people” have resource/time limitations. Learning rust to an extent that will work on that level is not the same as learning C.

[–] [email protected] 0 points 10 hours ago* (last edited 10 hours ago)

The rust people said they'd take ownership of the work for the bindings so C maintainers don't have to. What's the issue?

[–] [email protected] 6 points 20 hours ago

Agreed, especially as the proprietary alternatives are starting to incorporate more and more Rust, even Windows is starting to rewrite their core libraries in Rust.

On top of security though, its going to be important for continuing to bring new maintainers onboard. Less and less people are learning C, especially to a level proficient enough to be a kernel maintainer. As Rust matures even more, C is effectively a legacy language at this point, a C++ won't be too far behind either, and Linux is going to be hard pressed to find maintainers as the graybeards retire.

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

It's really a bummer seeing how much childish drama is in the Linux dev community.

I am not nearly a good enough dev to contribute to the Linux kernel, but I am working my way towards that point currently at night after my kids are in bed. Be the change and what not.

[–] [email protected] 12 points 22 hours ago

There is a reason the type of devs who have the talent, passion and time for projects like this are not spending 60hrs/wk at Google.

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

That's a good way to take a bad situation and make it better. Good luck! Maybe I'll join you one day.

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

Damn, Linus really went out of his way to say:

How about you accept the fact that maybe the problem is you. You think you know better. But the current process works. It has problems, but problems are a fact of life. There is no perfect. 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 than\k you.

Link

[–] [email protected] 11 points 23 hours ago (1 children)

...but still fails to answer the question of "should we continue implementing kernel things in rust".

[–] [email protected] 12 points 21 hours ago

Yes I read the whole thread and the lack of replies on his part were kind of infuriating

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

This news along with the news of WiFi driver maintainer stepping down, feels like there won't be any new blood in Linux kernel development except for corporate funded developers.

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

That’s a shame irrespective of the drama. Asahi is surprisingly good. Installation is (relatively) straightforward.

I’ve got it on my primary laptop. I don’t use it frequently because battery life is poor compared to MacOS and I can’t use an external display but it’s an impressive achievement and I’m sure it will only get better. I haven’t used fedora in 20 years but it’s slick and easy and most of it just works. It looks just like my Linux workstation desktop.

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

It seems a lot of new developers want to do some things differently; old guard devs can either make some compromises, or accept that fewer new devs will want to be part of upstream.

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

Unsurprising. You don't have to follow Hector Martin on social media for very long to learn that he's a petulant, indignant, self-righteous drama queen.

[–] [email protected] 49 points 1 day ago* (last edited 23 hours ago) (1 children)

I'm not going to deny that he can act aggressively, but his point is still valid. The anti-Rust sentiments of some maintainers has slowed down the upstreaming of Rust into the kernel. It doesn't make sense to waste people's time by letting R4L limp along in its current state.

R4L either needs to be given the go-ahead to get things upstreamed, to the dismay of some Linux maintainers who don't like Rust, or R4L should be killed and removed from the kernel so we can stop wasting people's time.

Personally, I think killing R4L would be a major mistake. Android's Linux fork with Rust support has been a major success for Google and significantly cut down on vulnerabilities. And the drivers for Apple's M chips has been surprisingly robust given how new they are and for being reverse engineered.

[–] [email protected] 1 points 46 minutes ago

There's a lot of issues with Rust taking more and more of the kernel. I'd like to see the whole kernel transitioned to Rust, but the project can't stand still for that amount of time. Unless someone is willing to take that on, I think it's better that Rust "stay in it's lane", as gross as that sounds.

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

Sounds a lot like Linus Torvalds back in the day, just saying...

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

Some similarities but the main difference in my eyes is that Linus doesn't have a permanent victim complex.

[–] [email protected] 2 points 20 hours ago (1 children)

What is it that rust is less preferable to?

[–] [email protected] 1 points 1 hour ago
  1. Dumb culture wars around programming languages.
  2. It a lot different from C. In C, you have Typeidentifier variable;, in Rust you have let mut variable : Typeidentifier;, and it's just the tip of the iceberg.
  3. Some of its safety features (including RAII - a favorite feature of marcan) are both detrimental to the performance and hard or impossible to opt out from.
[–] [email protected] 7 points 1 day ago (4 children)

I'm not too new to linux, but also not too veteran, has it always has this shit drama? There is always some sort of fucking child throwing a tantrum about some shit. Has it always been the case? It's really getting annoying.

[–] [email protected] 2 points 6 hours ago (1 children)

This kind of stuff happens in big companies too, but you don't see it because it's not in a public mailing list. One of my teams had a developer who stood on tables to yell until his opinion was accepted, and one time when another developer wouldn't back down, he threw a chair at them. That angry developer worked there for another 7 years until retirement, while many smart team members around him quit rather than continue dealing with him.

[–] [email protected] 2 points 3 hours ago

😂. I'd beat the shit out of the mother fucker. I get that he's a smart developer, but you don't fucking throw a chair at me, bitch.

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

It has always been like this.

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

Man, this is so unfortunate :/

[–] [email protected] 4 points 22 hours ago* (last edited 22 hours ago)

FOSS land is always going to be populated by freaks and geeks. The well socialized devs get jobs at Google. It's impressive the "system" works as well as it does, IMO. Passion is a big motivator.

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

There is always some sort of fucking child throwing a tantrum about some shit. Has it always been the case?

Petty much. The big difference this time is that there's a common enemy (Rust) instead of relatively isolated petty crap.

[–] [email protected] 8 points 1 day ago
load more comments
view more: next ›