this post was submitted on 24 Mar 2025
20 points (85.7% liked)

Linux

52487 readers
755 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
 

With Ubuntu changing to the Rust implementation of coreutils, what does that mean for performance?

top 13 comments
sorted by: hot top controversial new old
[–] ReakDuck@lemmy.ml 12 points 4 days ago

Im more concerned about the stupid license

[–] Xanza@lemm.ee 9 points 4 days ago* (last edited 3 days ago) (2 children)

The performance you're dealing with here is in the tens of milliseconds possibly hundreds if you're lucky. Anyone seriously pursuing this issue from the angle of performance genuinely doesn't understand the deep rooted issues here.

If you're so incredibly hard up for compute time that it's critical for you to squeeze out the extra 1/10 of a second from your system utilities then you need to shut your fucking computer down and go touch grass.

I mean even if this saves you 30 seconds a day 50 weeks a year 5 days a week that's 2 hours per year it's saving you.... I'd rather slow fuck the two hours and get an extra 2 hours of pay.

[–] noli@lemm.ee 4 points 4 days ago

I’d take those tens of milliseconds. That shit scales and I’ve seen infra in the scale of millions more-or-less glued together by shell scripts and coreutils/busybox.

[–] cerement@slrpnk.net 5 points 4 days ago (2 children)

this was me watching some of the cheering when neofetch got archived, people complaining “good, neofetch is too slow” – WTF were you doing with neofetch where speed was a factor?!

[–] QuazarOmega@lemy.lol 4 points 4 days ago (1 children)

.bashrc greeter? ;-;

Not saying that neofetch going away was a good thing tho

[–] cerement@slrpnk.net 6 points 4 days ago

when the last message was “Have taken up farming.”, kinda hard to hold anything against them …

[–] that_leaflet@lemmy.world 1 points 4 days ago

On some systems neofetch would actually run quite slow. Even on my fast system it would occasionally take a second because it hung on one step.

[–] beejjorgensen 6 points 4 days ago

Rust has some big binaries due to static linkage, and the Rust coreutils gets around this Busybox-style, compiling everything into one binary that you hard link to. Pretty neat. The project is easy to build and mess with without installing if you're curious about it. And you could add the build dir to the front of your path if you want to try it out with low risk.

[–] mina86@lemmy.wtf 4 points 4 days ago

Why do you think it would affect performance?

[–] catloaf@lemm.ee 4 points 4 days ago (1 children)

I don't think anyone is relying on performance of coreutils. If you're concerned about performance, you're already writing a program directly, not using a shell script.

[–] ProtonBadger@lemmy.ca 5 points 4 days ago

Relying on is perhaps too strong, but I enjoy operations like sort getting faster and I don't know how they've written cp but there's a cp alternative using async IO with io_uring that's almost twice as fast, I'm sure it'd interest people if such optimizations made it into coreutils.

[–] satans_methpipe@lemmy.world 3 points 4 days ago

I think your question is relevant as there are unfortunately plenty of shell scripts out there doing critical batch work. But it won't change the momentum of the Rust push happening right now.

[–] Neptr@lemmy.blahaj.zone 0 points 4 days ago

It is faster, optimization is one of the uutils project's stated goals.