this post was submitted on 30 Aug 2024
34 points (94.7% liked)

Linux

47290 readers
752 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
 

There's been a couple of mentions of Rust4Linux in the past week or two, one from Linus on the speed of engagement and one about Wedson departing the project due to non-technical concerns. This got me thinking about project phases and developer types.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 2 weeks ago (6 children)

Talks about different developer styles, slightly interesting and not too long winded I guess, but not much about the actual situation.

I think this is still not such a great look for Rust. I had expected interfacing Rust to C to present fewer problems than it seems to. I had hoped the Rust compiler could produce object code with almost no runtime dependencies, the way C compilers can. So integrating Rust code into the kernel should be fairly painless from the C side, if things were as one would hope.

It does sound to me in the earlier post that there was some toxicity going on. Maybe it had something to do with the context being a DRM driver.

I looked at a few Rust tutorials but they seemed to take forever to get to any interesting parts. I will keep looking.

[–] [email protected] 16 points 2 weeks ago* (last edited 2 weeks ago) (5 children)

Based on stories like these, I get the feeling there's active hostility from the maintainers against Rust contributors. While the kernel in general has accepted Rust contributions, the maintainers of individual subsystems seem to disagree.

I don't think the language matters. The problem is cultural, first and foremost. Had a new wave of programmers used C to expand the Linux kernel, they probably would've run into the same issues.

This isn't the first time I've heard devs complain about the DRM API, and most of my kernel panics seem to involve DRM as well (mostly Nvidia, but the Intel driver crashes too). Maybe it's because of performance reasons, but DRM seems very hard to get right, even for already merged in-tree drivers.

If the problem does turn out to be technical in nature, maybe Linux needs to ask Microsoft for help. They don't seem to have that many issues rewriting system components into Rust, and they have the additional challenge of remaining binary compatible with the C(++) code that came before it.

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

"DRM" as in digital restrictions management I assume.

[–] [email protected] 7 points 2 weeks ago
load more comments (1 replies)
load more comments (3 replies)
load more comments (3 replies)