this post was submitted on 02 Sep 2024
141 points (95.5% liked)

linuxmemes

20723 readers
1449 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 2 weeks ago (7 children)

From an outsiders perspective, a lot of the "politics" seemed to be that Rust devs would try to change behavior they saw as bugs and Linus would have to be like: "it doesn't matter, we don't break userspace functionality with changes we make to the kernel! [not a direct quote, but a paraphrase]"

Devs not wanting to learn Rust is something I'm not at all equipped to comment on since I don't know C or Rust (some C++, python, Powershell and a few other scripting languages though) so I can't say how difficult that transition would be, but at the very least it seems like they must not be convinced of its need.

Anyone with more knowledge able to chime in on if it seems this is a self induced problem on their end or genuinely something the other kernel devs are being difficult to work with?

ETA: My memory of this seems to be completely incorrect! Sorry for the misinformation!

[–] [email protected] 11 points 1 week ago (6 children)

Do you have an example where Rust devs wanted to break backwards compatibility? The complaints I've seen were mostly "I don't want to learn another language, so your Rust stuff will be broken by us"

[–] [email protected] 5 points 1 week ago* (last edited 1 week ago) (2 children)

In fairness, "I don't want to maintain bindings for a language I never intend to use" is a perfectly reasonable position.

The typical answer here is for the language evangelist to implement and maintain the bindings, and accept the responsibility of keeping them in sync with the upstream (or understand that they will be broken for however long it takes for another community member to update them).

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

Which is exactly the position that the Rust for Linux devs have understood and accepted for themselves, and yet they still get yelled at (literally, in public, on recordings) by C Linux devs for existing.

Oh and they get snidely told that introducing the Rust language must be a mistake because suggestions to introduce other languages to the kernel turned out to be mistakes and obviously Rust is the same as all those other languages according to C developers who, by their own admission, have never used or learned anything about Rust beyond a superficial glance at some of its syntax (again this was recorded from a public event).

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

Ted Ts'o was way out of line in that conference and was clearly channeling his inner ca. 2001 Torvalds.

I think Rust is a better path forward for a majority of the kernel/driver code maintained currently, but it is definitely going to take time for it to gain a foothold. I also think there is some condescension on both sides that is completely unjustified and needs to stop.

The hardline C devs that don't want to learn Rust need to accept that at some point they will have to either adapt or pass the torch, and that no amount of whining or bitching in public forums is going to change that.

The Rust devs that are getting upset because people are "attacking" their favorite language need to accept that there will be substantial and impassioned resistance to making broad language changes to a set of projects that have existed for decades. It would be an uphill battle for any language to try to supersede C in the kernel; this is not a condemnation or attack on Rust or its zealots, it's a matter of momentum and greybeard stubbornness.

load more comments (3 replies)
load more comments (3 replies)