this post was submitted on 25 May 2025
57 points (93.8% liked)

Rust

6958 readers
11 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
top 15 comments
sorted by: hot top controversial new old
[โ€“] Treczoks@lemmy.world 0 points 5 days ago

The original CoreUtils have beenvetted through decades of use. They have been broken and fixed many times, and they have been hardened against so many edge cases, it's not funny anymore. That's where those 600 tests come from (mostly). Once they have brought the Rust tools to that level, how much performance advantage will there be left?

[โ€“] grue@lemmy.world 45 points 1 week ago (3 children)

Rust ๐Ÿ‘
MIT instead of GPL ๐Ÿ‘Ž

[โ€“] vala@lemmy.world 4 points 6 days ago
[โ€“] danielquinn@lemmy.ca 6 points 6 days ago (1 children)

Debian should fork it and re-license it under the GPL.

[โ€“] bitcrafter@programming.dev 2 points 6 days ago (1 children)

What would be the point of doing that when they can just keep using GNU coreutils?

[โ€“] danielquinn@lemmy.ca 0 points 6 days ago (1 children)

Well presumably there are at least some performance and safety benefits to using these new alternatives. Otherwise it's just a blatant license dodge.

In that case, nothing is stopping Debian from using uutils as it is; they can't really "re-license" it anyway since the original code will continue to be MIT-licensed.

[โ€“] trevor@lemmy.blahaj.zone 20 points 1 week ago (1 children)

Precisely. The Rust community should stop using pushover licenses.

[โ€“] sugar_in_your_tea@sh.itjust.works -2 points 1 week ago (1 children)

Eh, I don't see the issue here. The MIT license is fine for a few reasons:

  • attractive to lots of FOSS projects, like BSDs, Redox, etc
  • no incentive to embed into proprietary projects - ls, cp, etc aren't particularly interesting to embed, and functionality is usually better in the stdlib of whatever language you're using
  • increases appeal generally for research purposes

I really don't see much benefit of GPL here. It makes sense for larger works with interesting snippets of code, but not for small, one-off tools like this.

[โ€“] trevor@lemmy.blahaj.zone 12 points 1 week ago (2 children)

If the other projects are licensed with a GPL, there is no issue doing any of these things (except using them for proprietary purposes later), which is the point. If you licensed your project incorrectly, that isn't the GPL-licensed project's fault.

[โ€“] taladar@sh.itjust.works 5 points 6 days ago (1 children)

If you licensed your project incorrectly

If you think other people disagreeing with you on how to license their own work is "incorrect" maybe you are the one not really in favor of freedom.

[โ€“] trevor@lemmy.blahaj.zone 4 points 6 days ago* (last edited 6 days ago) (2 children)

GPL is more freedom for users and developers. MIT is less freedom for users because it grants more "freedom" for some company to exploit the developer's labor by taking it to make something proprietary with it.

If you want to use GPL code, pushover licenses are incorrect because they protect the user and developer from this nonsense.

[โ€“] bitfucker@programming.dev 2 points 5 days ago

I always see people with the argument that the developer labour is somehow being exploited. But have you never thought that maybe, just maybe, the person in question does not care? He just wanted to publish his creation and be done with it. He does not care if people are using it. That's my case. I don't care if people want to use my piece of cryptographic library. Just be aware that I am just some random dude, providing no support nor warranty. I make the library for my use cases and it works fine.

[โ€“] taladar@sh.itjust.works 1 points 6 days ago

GPL is just as bad as proprietary licenses in the sense that GPL makes the user worry about the licensing of some library they just want to use. MIT, BSD,... give the code user the freedom to avoid worrying about licensing bullshit. GPL meanwhile doesn't really solve any of the problems you claim it solves because all it does is duplicate effort and the non-GPL duplicate is used in a lot of places where a single copy of the code could be used if the GPL-using author hadn't stubbornly insisted on a disproven theory of how GPL will save us.