this post was submitted on 24 May 2025
97 points (99.0% liked)

Opensource

2773 readers
137 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS
 

A few people pointed out that many rust projects were MIT licensed and since then I indeed have seen MIT licensed projects everywhere in Rust. Then I found the link of this post and it looks like MIT was by far the most popular license in all of opensource in 2023.

Any ideas why?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 56 points 1 week ago (2 children)

MIT allows the publication of derived work to be closed source, GPL doesn't. Thus, at least for corporations, it is an advantage to publish some code, e.g. libraries with MIT licence, so that it can become a commonly used "standard implementation", while their end user software remains closed source.

[–] [email protected] 32 points 1 week ago

This is why i like publishing under LGPL, people can still use it in proprietary software but the library itself is better protected.

[–] onlinepersona 10 points 1 week ago (3 children)

Thank you. That would explain why corporations use it (and the Apache license), however my guess is that most opensource projects aren't corporate. Do you maybe have a guess why non-corporations use MIT?

Anti Commercial-AI license

[–] nous 8 points 6 days ago

You would be surprised. A lot are written by people as part of their job or so they can use them for their job or being sponsored by a company to do the work. The people with the most time to contribute library code to rust are being paid to do it in one form or another.

[–] [email protected] 24 points 1 week ago (3 children)

Do you maybe have a guess why non-corporations use MIT?

"Here's my project do what you want, or don't, with it I don't care"

[–] [email protected] 1 points 5 days ago (1 children)

Relicense it as GPL and see how little they care what you do with it.

[–] [email protected] 0 points 5 days ago (1 children)

What a stupid argument, that's literally only thing the license asks, is to keep the original license and not sue them because you shot at your own dick.

It doesn't change in any way or form how you can use the software though

[–] bitfucker 3 points 4 days ago

Isn't it to keep the copyright notice and not the license itself? I.e, you may redistribute it with a different license term and conditions but the copyright notice must be retained. I don't know how different it is tho in legal speak. Maybe they are equivalent.

[–] [email protected] 2 points 6 days ago

One caveat is that if you fork and release it you have to release it under the same license.

[–] onlinepersona 1 points 1 week ago (3 children)

Are you saying it's not a conscious choice? They're just going with what they consider to be the default and that happens to be MIT?

Anti Commercial-AI license

[–] bitfucker 17 points 1 week ago

No.

MIT : "Here is my project. Do whatever, I don't care. Just put my name in a credit somewhere."

GPL (assuming FSF stance on linking is used) : "Here is my project. Oh, you want to use my project and distribute your project that uses my project? Make your whole project open source too."

BSD-3 : "Here is my project. Credit me and do whatever but, don't use my name to promote your usage."

And many more nuances on other licenses like patents and whatnot. The problem is, the average person does not care to enforce it.

[–] [email protected] 16 points 1 week ago

I don’t think that’s what they’re saying.

MIT license is more permissive than other open source licenses. That’s intentional. The authors want anyone to use their code anyway they like—open, closed, whatever.

[–] [email protected] 6 points 1 week ago

No, but they want to have the most permissive license so that anyone with interest in it can take and use it, without having to worry about licenses.

[–] [email protected] 4 points 1 week ago (1 children)

If you want to spread rust corporations using it is part of spreading.

[–] onlinepersona 0 points 1 week ago (1 children)

I do not know what you're on about. Care to explain?

Anti Commercial-AI license

[–] [email protected] 1 points 6 days ago

Part of a useful language is a library of various utilites. If the library is behind a license you cannot accept the library may as well not exist - and thus the language is less useful.