cross-posted from: https://programming.dev/post/30924455

A few people pointed out that many [R]ust 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?

  • orclev@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    2
    ·
    3 days ago

    The crux of it is that it allows for commercial use without needing to distribute the source code. Whether that’s a good thing or not depends on who you ask. There’s basically a continuum for open source software with GPLv3 at one end and MIT at the other.

    GPLv3 guarantees that corporations can’t play games with patents or weird DRM to hobble an open source library and tie it to their closed source product. A lot of corporations will specifically bar employees from using GPLv3 code out of fear it could force them to open source their proprietary code as well.

    At the other extreme you’ve got MIT which basically says do what you want with it. Fork it, embed it in your projects, sell copies of it if you want. Anything goes as long as you include a copy of the MIT license along with your software.

    Rust tends to get a lot of commercial usage so GPLv2 or MIT tend to be chosen over GPlv3, and between them most companies feel more comfortable with MIT.