this post was submitted on 02 Sep 2025
133 points (99.3% liked)

Linux

10546 readers
905 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] chronicledmonocle@lemmy.world 22 points 3 months ago* (last edited 3 months ago) (18 children)

Was sudo broken in some way that makes rewriting it in rust appealing? Genuinely curious.

[–] khleedril@cyberplace.social 8 points 3 months ago (2 children)

@chronicledmonocle @cm0002 The real answer is that some people just want something to do.

The more philosophical answer is that after C (circa 1960) there have been lots of developments in programming languages, both translated and compiled. Rust is epochal in that it takes all the best features and has the right defaults based on 50 years experience. Most notably it is the first language which understands the code it is compiling, and is thus able to see errors and make deep optimizations...

[–] khleedril@cyberplace.social 5 points 3 months ago

@chronicledmonocle @cm0002 ... given all that, it just makes sense to systematically rewrite everything that exists in C as Rust. Nothing to lose, everything to gain.

load more comments (1 replies)
load more comments (16 replies)