this post was submitted on 30 Nov 2023
1 points (100.0% liked)

Rust Programming

8074 readers
2 users here now

founded 5 years ago
MODERATORS
 

UPDATE: I found this issue explaining the relicensing of rust game engine Bevy to MIT + Apache 2.0 dual. Tldr: A lot of rust projects are MIT/Apache 2.0 so using those licenses is good for interoperability and upstreaming. MIT is known and trusted and had great success in projects like Godot.

ORIGINAL POST:

RedoxOS, uutils, zoxide, eza, ripgrep, fd, iced, orbtk,...

It really stands out considering that in FOSS software the GPL or at least the LGPL for toolkits is the most popular license

Most of the programs I listed are replacements for stuff we have in the Linux ecosystem, which are all licensed under the (L)GPL:

uutils, zoxide, eza, ripgrep, fd -> GNU coreutils (GPL)

iced, orbtk -> GTK, QT (LGPL)

RedoxOS -> Linux kernel, most desktop environments like GNOME, KDE etc. all licensed GPL as much as possible

you are viewing a single comment's thread
view the rest of the comments
[–] belated_frog_pants@beehaw.org 0 points 10 months ago (2 children)

Something being "the most popular" doesn't make it the right license for everything. FOSS uses the GPL if it makes sense and often when it doesn't but its not an end all be all for FOSS and its needs.

https://snyk.io/learn/open-source-licenses/

[–] SomethingBurger@jlai.lu 1 points 10 months ago (1 children)

It is, though. GPL forces all code using a GPL-licensed project to also be GPL-licensed. MIT is a cuck license allowing corporations to use your code for free without anything in return, the entire text of the MIT license could be replaced with "pls steal my code harder, daddy big corporation".

[–] belated_frog_pants@beehaw.org -1 points 10 months ago (1 children)

A "cuck" license? I have 0 interest in engaging in any meaningful conversation around "we live in a society and rigidity of value measurement cannot be without context" because thats childish at best and a dog whistle of the anti-intellectual at worst.

[–] SomethingBurger@jlai.lu 1 points 10 months ago

I'm using cuck in the literal sense, not the MAGA fascist sense. Your code, someone else's profit. GPL or bust. If corporations want to use the features of a FOSS project without contributing their changes, they can fuck off and rewrite it from scratch.

[–] jack@monero.town 0 points 10 months ago (2 children)

That doesn't explain the preference for MIT tho

[–] XTL@sopuli.xyz -1 points 10 months ago (1 children)

Mit is kind of the "I don't care and I don't want to think about it" license. I also suspect many will also just use the same license they see in other projects. So, if they've been using rust crates that are MIT, they're more likely to pick that. But who knows.

[–] jack@monero.town -1 points 10 months ago

That makes sense, it's probably easier to just use MIT instead of learning the differences between GPLv2, v3, AGPL, LGPL, MPL etc

[–] Octorine@midwest.social -1 points 10 months ago

Preference for MIT and Apache is part of the culture of rust. Also, the lead dev behind Redox has mentioned that he chose MIT over GPL because it makes it easier to contribute, which he felt was important for getting Redox off the ground.