this post was submitted on 16 Sep 2025
86 points (97.8% liked)

Linux

58306 readers
1520 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 6 years ago
MODERATORS
 

Ubuntu 25.10's transition to using Rust Coreutils in place of GNU Coreutils has uncovered a few performance issues so far with the Rust version being slower than the C-based GNU Coreutils. Fortunately there still are a few weeks to go until Ubuntu 25.10 releases as stable and upstream developers are working to address these performance gaps.

top 50 comments
sorted by: hot top controversial new old
[–] yamamoon 41 points 4 days ago (15 children)

This should be avoided like the plague because of the choice to use MIT over GPL.

Any work dedicated to this can and will be stolen by corporations without giving back if they find it useful. This is what happened with Sony and Apple and their respective operating systems. They chose to base them on BSD so they could steal work and not give back to the public.

Do not be fooled.

[–] atzanteol@sh.itjust.works 16 points 4 days ago (4 children)

They chose to base them on BSD so they could steal work and not give back to the public.

"Here you can use this as you like, no questions asked"

"Hey! Why did you use that in a way that I told you you could!?!?"

[–] themagzuz@lemmy.blahaj.zone 21 points 4 days ago (1 children)

i think the argument here is more that saying "you can use this however you like, no questions asked" is a bad idea because it allows corporations to approriate the work

load more comments (1 replies)
[–] irotsoma@lemmy.blahaj.zone 7 points 3 days ago

Right. Instead say "here you can use this as you like, and if you improve on it, share that with everyone in the same way so we can all benefit from it." Is why GPL is better.

[–] HubertManne@piefed.social 10 points 3 days ago (1 children)

yes. that is why he is saying go with the gpl or at least if your adding code add it to gpl unless you are fine with your stuff being used but nothing coming back to the communities by others.

[–] atzanteol@sh.itjust.works 1 points 3 days ago (1 children)

They chose to base them on BSD so they could steal work and not give back to the public.

Emphasis mine.

[–] HubertManne@piefed.social 8 points 3 days ago (1 children)

Yeah I think you are just ignoring context. He means steal the way someone just taking advantage of the commons might be said to. Ugh he only comes to these things so he can steal away a bunch of pastries back to his pad. The language is to mean that the bsd license allows folks to steal while the gpl requires reciprocity.

[–] atzanteol@sh.itjust.works 8 points 3 days ago (1 children)

The intent of the BSD licences is to allow you to do what you want without reciprocating though. It's not an accident, it's explicitly stated. It is, in fact, your right. You profiting from the work of others is an intended result.

I prefer GPL myself for this reason. But you can't blame companies for obeying the terms of the licence.

[–] HubertManne@piefed.social 1 points 3 days ago (1 children)

But that is what he was actually saying. His comment was he would rather see it as gpl because mit effectively allows the hard work to be stolen like what we saw with apple and bsd. Hes not blaming apple he is just saying he would not have issue if it was gpl instead of mit. Again its like you have to look at the whole message and context for meaning rather than the strict definition of the one line.

[–] atzanteol@sh.itjust.works 3 points 3 days ago (1 children)

It can't be any sort of "theft" if you leave it on the curb with a sign saying "Free" next to it.

[–] HubertManne@piefed.social 2 points 3 days ago (1 children)

ugh. I feel like you did not read my reply. Im saying his use of the word theft should not be taken literally given the context of his statement. he was not looking to say apple stole code he was looking to say use gpl because otherwise corps get code and don't contribute back.

[–] atzanteol@sh.itjust.works 1 points 3 days ago (2 children)

It's you who says it's not a literal use. But I'm protesting even a figurative use since there is NO way the act is THEFT. I didn't steal, in any sense, something that is given to me for free.

[–] Ferk@lemmy.ml 3 points 3 days ago* (last edited 3 days ago)

It's not like improper use of "steal" is unheard of, I see all the time people use "I'm gonna steal that" and similar even when it applies to things openly given for free. And considering that it's quite clear that the MIT allows others to take without sharing back (it's the main difference with GPL) I'm quite sure the commenter was aware that it wasn't really theft, yet chose that word probably with the intention to insult the practice, rather than as a fair descriptor.

So yes, you're right, it isn't theft... but I don't think that was the point of the comment.

[–] HubertManne@piefed.social 2 points 3 days ago

I don't think you understand what the word figurative means.

[–] umbrella@lemmy.ml 4 points 3 days ago

yes that's exactly what he is criticizing.

[–] danielquinn@lemmy.ca 6 points 3 days ago (3 children)

Serious question: could we not just fork the project under the GPL and use that?

load more comments (3 replies)
[–] digger@lemmy.ca 6 points 3 days ago (1 children)

Isn't this the reason for the switch? I thought MIT was the whole reason they were making the switch.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 1 points 20 hours ago

The reason Ubuntu switched was Rust's "safety". Which is sort of a dumb reason because Coreutils have had very few CVEs in the past. A less dumb reason is performance. Uutils are faster than Coreutils, this was an edge-case.

MIT license is the schizo reason. Making a closed source version of Unix utilities would not be beneficial for Canonical in any way, but that does not stop the schizos from schizoing.

[–] BradleyUffner@lemmy.world 1 points 3 days ago

They didn't "steal" anything. The developers choose that license. It's very clear what it allows.

load more comments (10 replies)
[–] boomzilla@programming.dev 22 points 3 days ago* (last edited 3 days ago) (2 children)

Do I understand the article and github issue correctly and we can put away the pitchforks already because they fixed the specific part already and it's now even more performant than GNU coreutils?

[–] ziggurat@lemmy.world 1 points 2 days ago

No, you are supposed to stop reading after the headline, and then make a comment, not read the whole article.

[–] flux@lemmy.ml 26 points 4 days ago (3 children)

Rust is great, but might it be a bit premature to replace the venerable coreutils with a project boasting version number 0.2, which I imagine reflects its author's view on its maturity?

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 2 points 20 hours ago

The author simply listened to the word of 0-Based Versioning. It says more about your maturity than of the projects. Much to learn you still have.

https://0ver.org/

[–] DieserTypMatthias@lemmy.ml 4 points 3 days ago

Version is just a number, just like age. (of Rust, of course)

[–] excral@feddit.org 3 points 3 days ago (1 children)

A major version of 0 isn't necessarily any statement regarding the projects maturity, it can also be a hack with semantic versioning. Normally, any change that is not fully backwards compatible requires you to increment the major version, but if the major version is 0, you may only increase the minor version. Because of this, many projects stay at the 0.x.y versions, so they don't need to release version 2.0.0, 3.0.0, 4.0.0 and so on just because of minor but breaking changes as many users might expect significant new features from that version steps.

[–] flux@lemmy.ml 1 points 3 days ago

They don't need to use semantic versioning. I doubt coreutils itself uses it, though I admit I haven't checked. Actually I think semantic versioning is less popular in practice than it looks like.

For a set of tools to that completely replaces another one, announcing a 1.0 version would be a message that the developers think the project has actually reached its initial goals. "0.2" does not.

[–] Strit@lemmy.linuxuserspace.show 12 points 4 days ago (6 children)

Wasn't rust suppose to both more performant and more memory safe than it's C counterparts?

[–] savvywolf@pawb.social 71 points 4 days ago

Rust and C are the same "tier" of performance, but GNU coreutils has the benefit of several decades of development and optimization that the Rust one needs to catch up with.

[–] ptmb@lemmy.zip 39 points 4 days ago* (last edited 4 days ago) (1 children)

Language isn't everything. While Rust provides some features and safety that C doesn't while being roughly equivalent in performance, the algorithms that developers choose will dominate the performance impact on the program.

GNU core utils has decades of accumulated knowledge and optimisation that results in the speed it has. The Rust core utils should in theory be able to achieve equivalent performance, but differences in the implementation choices between one and another, or even something as simple as the developers not having prioritised speed yet and still focusing on correctness could explain the differences that are being reported.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 1 points 20 hours ago

Well the entire point of the project is that they used algorithms/features of Rust that make it easier to write fast code. This article basically reports on a "bug". Uutils are in many ways already faster than Coreutils.

Correctness is really more of a byproduct of using Rust. Coreutils have had only a few CVEs in their lifetime so it would be sort of redundant to rewrite them in Rust for "correctness".

[–] mark@social.cool110.xyz 18 points 4 days ago

@Strit @rezad Memory and thread safe yes. Performance was more roughly equal, could be faster or slower depending on use case.

[–] communism@lemmy.ml 6 points 3 days ago

Rust never claimed to be more performant than C. Its performance is equivalent to C.

[–] balsoft@lemmy.ml 8 points 4 days ago (1 children)

Rust is fundamentally more limiting than C, even with unsafe. It is often faster if you write naive code (because the Rust compiler can optimize more aggressively due to those same limitations), but an experienced developer with a lot of time for optimization will probably be able to squeeze more performance out of C than they would out of Rust - as you can see in this example. Rust is still better because those limitations all but guarantee that the resulting code will be safer, and the performance differences would be negligible all things considered.

[–] jumping_redditor@sh.itjust.works 2 points 3 days ago (1 children)

you can still mostly hand-write assembly in rust

[–] balsoft@lemmy.ml 7 points 3 days ago

Sure, but at that point you can also just write assembly. I'm talking about "idiomatic" code in the language itself.

[–] MonkderVierte@lemmy.zip 4 points 4 days ago

It's more a thing like in ripgrep vs. grep; new algorithms being vastly faster in most cases except in some.

[–] savvywolf@pawb.social 6 points 4 days ago (1 children)

This would never happen if it were licensed under GPL. /s

[–] HubertManne@piefed.social 4 points 3 days ago

Although if it did happen they could be sued for breaking it. I really don't get the sarcasm here. with mit/bsd not giving back is fully legal with gpl its not.

load more comments
view more: next ›