this post was submitted on 21 Feb 2025
410 points (99.3% liked)

Linux

50682 readers
589 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.

you are viewing a single comment's thread
view the rest of the comments
[–] semperverus 19 points 1 week ago (13 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

[–] Serinus 2 points 1 week ago (4 children)

Rust is straight up better than C. It's safer and less prone to errors.

It's not feasible to convert the entire Linux codebase at once. So your options are to either have a mixed codebase, or stick with effectively Cobol into 2020.

[–] semperverus -1 points 1 week ago* (last edited 1 week ago) (3 children)

Rust is great, but you are not thinking from a long-term project perspective. Rust is safer, but Linux needs to be maintainable or it dies.

Based on what you're saying, the only way its going to reasonably be converted to Rust is if someone forks Linux and matches all the changes they're making in C as they happen but converts it all to Rust. Once its all converted and maintainability has been proven, a merge request would need to be made.

[–] reddit_sux 2 points 1 week ago* (last edited 1 week ago) (1 children)

I can't fathom how do you mean Rust is not maintainable. If anything for a new programmer C code is much more mind boggling than Rust.

Writing in Rust might make it much more maintainable.

[–] semperverus 1 points 1 week ago* (last edited 1 week ago)

See this is the problem with Rust people, they always misconstrue you saying "mixing two languages together makes a project less maintainable" to mean "Rust is unmaintainable" if Rust is the second language.

This is why the disagreement between Hector and Christoph happened in the first place.

Do better, reddit_sux

load more comments (1 replies)
load more comments (1 replies)
load more comments (9 replies)