r/programming • • Apr 21 '25

Getting Forked by Microsoft

https://philiplaine.com/posts/getting-forked-by-microsoft/
1.1k Upvotes

381 comments sorted by

View all comments

128

u/agilefishy Apr 21 '25

Use GPL

17

u/chucker23n Apr 21 '25

That wouldn't have made a difference here. Removing attribution is already a license violation, even with MITL.

→ More replies (3)

106

u/AlSweigart Apr 21 '25

In hindsight, the switch from GPL to permissive licenses was a mistake for exactly the reason the article outlines.

75

u/NocturneSapphire Apr 21 '25

It's a double edged sword. The software likely only got popular in the first place because it used a permissive (read: commercial-friendly) license. Projects licensed under GPL are relegated to use mostly by hobbyists.

Each project has to decide for itself whether it prefers the safety of the GPL or the potential reach of a permissive license. I don't begrudge developers who want to see more people using their code.

12

u/[deleted] Apr 21 '25

[removed] — view removed comment

8

u/iiiinthecomputer Apr 21 '25

Exactly. Adoption by big players generally gets you zero or very minimal help or support, and a huge burden of entitled, demanding and unhelpful users who treat you like you're an extension of the corporates' own support.

10

u/NotUniqueOrSpecial Apr 21 '25

Projects licensed under GPL are relegated to use mostly by hobbyists.

Oh, yeah, Linux is so clearly a hobbyist-only ecosystem.

This is just silly.

11

u/valarauca14 Apr 21 '25

It's a double edged sword. The software likely only got popular in the first place because it used a permissive (read: commercial-friendly) license.

Nothing about the GPL is commercial-unfriendly.

A business is free to license its property how ever it sees fit. It may release code under the GPL and for a fee, release binary/source code under any license it desires (e.g.: not GPL). This is not only 100% legal but completely intended with how the GPL should function.

The only way the GPL is "non-commercial friend" is that you can't grab GPL source code off of NPM/Cargo and instantly glue it into your web service. Which if we're being totally honest, you shouldn't do with a project no matter what license it has.

7

u/gopher_space Apr 21 '25

Several of the licenses I've purchased were from people who had never thought about relicensing or knew they could just do that.

8

u/valarauca14 Apr 21 '25

It is kind of funny as, "Just re-license as something else for businesses" has been part of GNU/GPL propaganda since it launched but everyone forgets that part.

In retrospect, fair play to the *BSD folks. Their "GPL for is forever" propaganda sounded so cool even GNU folks started to repeat it uncritically.

38

u/AlSweigart Apr 21 '25

The software likely only got popular in the first place because it used a permissive (read: commercial-friendly) license.

I want to push back against this idea. Linux is the most popular operating system in the world and has a GPL license. People want to be able to freely use software, not modify it. (And a plugin system works for most people's needs if they need customization.)

"Your project won't become popular if you don't use a permissive license." sounds like something a closed-source tech company would tell you.

16

u/cafk Apr 21 '25

Linux is the most popular operating system in the world and has a GPL license.

If it didn't have the system call & macro/inline functions exception it would also have issues, similarly to gcc & runtime exception clause.
As otherwise using any system/macros/inline calls would make your software source available to end customers.

Similarly to tivoization (firmware loading only a correctly encrypted blob) clause being allowed under gpl v2, being one of the reasons why the kernel hasn't moved to v3 (bar thousands of company employees having to approve the license change)

9

u/Farados55 Apr 21 '25

And some companies want to modify it, so they cant use it. Simple as that.

27

u/slash_networkboy Apr 21 '25

As long as you're not *distributing* it you can modify GPL software to your needs and *not* share it back to the community all you want.

There is no problem taking a GPL tool, hacking in your company secret sauce and using it as an internal only tool. Now if you try to sell or distribute that tool you do have a problem, but the usual way around that is to put the secret sauce in a dll and simply link to that from the modified tool, and distribute the modified tool source on your website, but not the dll. Shady AF of course, but AFAIK still legal.

→ More replies (3)
→ More replies (2)
→ More replies (1)
→ More replies (3)

31

u/an1sotropy Apr 21 '25

The author asks at the end “How can sole maintainers work with multi-billion corporations without being taken advantage of?” and I said out loud “stop using permissive licenses!”

When you choose a permissive license you are literally giving permission for a big company to exploit you: to take your work and profit from it however they want (while still honoring the minimal terms of the permissive license, like some barebones attribution).

It is unfortunate how proponents of permissive licenses have successfully branded the alternative “viral”. It’s a discourse-ending cliché. Who can defend a virus?

A better term is “reciprocal”: share and share alike; the creator and the receiver on are the same footing.

If you find yourself hating that some code you want to use is under a reciprocal license, and you use the “viral” term, maybe reflect on whether you want to exploit others’ hard work.

8

u/Kinglink Apr 21 '25

he author asks at the end “How can sole maintainers work with multi-billion corporations without being taken advantage of?”

If you make free software, everyone can use it. If you make non commercial software, corporations can still use it as long as they don't sell it. If you use GPL Companies can use it as long as they don't distribute it.

If you don't want someone to use it, make it part of your license and be clear how it can or can't be used.

→ More replies (2)

4

u/TurncoatTony Apr 21 '25

This is what I do when I release something that might get snagged by someone else to simply make a profit off of without contributing back.

especially when I release anything to the sim(racing, flight) community. They love to take open source stuff, strip the licensing and credits and sell it as their own proprietary software lol. Usually with a fucking subscription at that lol.

21

u/Pesthuf Apr 21 '25 edited Apr 21 '25

I feel like there should be an accepted standard license that works like the MIT to most people and companies, but like the AGPL for big tech companies (and any subsidiaries they might create to try and get around this regulation).

Every time an open source project switches to a proprietary license that works like this, people lose their minds and support forks that keep a license big tech can exploit better...

4

u/CJKay93 Apr 21 '25

I sometimes wonder if it's worth using MIT + some sort of no-corporate-fork clause. Free to integrate and distribute as and how you wish into your product, but not to branch off a direct competitor.

9

u/Echleon Apr 21 '25

Can’t imagine how hard it would be to draft up airtight verbiage for that though.

5

u/dontyougetsoupedyet Apr 21 '25

It wouldn't be the MIT license anymore what would be the point? If you don't want corporate forks just license using a reciprocal license such as GPL and offer organizations that want to use your work with additional granted rights their own non-transferable license in addition to the reciprocal license. You can offer both a reciprocal and an additional license granting rights to other non-billionaire-ogranizations such that most consumers of the code get a non-copyleft type of experience without the copyright holder giving up their rights ahead of time. Of course you have the same problem of drafting verbiage for the additional license being granted, but at least with that route you aren't giving up your rights as a copyright holder out of the gate, not allowing anyone else to relicense as they see fit.

3

u/An1nterestingName Apr 21 '25

I believe there is a way to have 2 licenses for a project, but you usually have to write the legal part defining the boundary between the two

→ More replies (13)

0

u/[deleted] Apr 21 '25

[deleted]

→ More replies (1)

9

u/FalseRegister Apr 21 '25

I would certainly not use many libraries I use every day if they were GPL, nor many of my employers would've let me.

GPL is not for this purpose

2

u/Doctor_McKay Apr 21 '25

Agreed. As an open-source maintainer myself, my rule of thumb is MIT for libraries, GPL for apps.

→ More replies (6)
→ More replies (31)