News for hackers. Stuff that matters.
Re:60x speed-up of Linux “perf” by junon on Thursday September 09, 2021 @09:37AM (#28469521)
Yet another case of GPL virality causing more issues than it solves.

E: Downvoters, have you read the article? The program started a new process for each address lookup instead of using a library because that library is GPL.

Shall we have a discussion?

Re:60x speed-up of Linux “perf” by dvdkhlng on Thursday September 09, 2021 @09:56AM (#28469727)
IMO it's not "GPL virality" that is at the root of the issue here. The authors' decision to license theis works this way causes the problem. You can still ask both libraries' authors for relicensing their work in a less restricted / more compatible way.

If they don't want to do that, then being authors and owning their copyrights, that's their right to do. That's nothing I would blame on the GPL.

I mean we should be grateful that these authors made their works available free of cost in the first place.

Re:60x speed-up of Linux “perf” by nickitolas on Thursday September 09, 2021 @11:55AM (#28471085)
As I understand it relicensing in many open source projects can be a very complicated matter, since in some cases it requires getting permission from all past contributors (Which could number in the hundreds)
Re:60x speed-up of Linux “perf” by guerrilla on Thursday September 09, 2021 @02:00PM (#28472643)
Can someone ELI5 to me where the problem is because both perf and bfd seem to be GPL. Why would the former not be allowed to link to the latter?
Re:60x speed-up of Linux “perf” by loeg on Thursday September 09, 2021 @02:12PM (#28472791)
GPLv2 and GPLv3 are difference licences, despite sharing a name. The GNU people (FSF) intentionally made the GPL3 incompatible with GPL2, to enforce the virality of the GPL3 license (which they perceive to be superior to the older GPL2).
Re:60x speed-up of Linux “perf” by Macha on Thursday September 09, 2021 @03:02PM (#28473330)
The purpose of the GPLv3 was to address the "tivo" clause, where a vendor sells you a device with some modified GPL preloaded software included. You can request the software under GPL, but if you can't load it on the device then the FSF feels that's not very good.

So GPLv3 bans that. That, by itself, is inherently an additional restriction not allowed by GPLv2. They don't need to go out of their way or have a conspiracy to deliberately make it incompatible. Especially since the GPL2, as distributed and suggested, includes the "or later" text which resolves this incompatibility to allow GPL3 software to use GPL2 code. If anything, this encourages GPL2+ as the default GPL license if maximum compatibility is your goal.

Others (e.g. Linus), are more focused on getting the code changes so if they want to use them in the original project they can, and don't feel being able to install it on the device it was built for is as high up on the priority list.

Re:60x speed-up of Linux “perf” by pabs3 on Thursday September 09, 2021 @09:12PM (#28476666)
Its also interesting to note that none of the GPL licenses require giving code back, so what Linus wants from the license doesn't happen via the license, only via cultural standards. Indeed, there are many companies and persons violating those cultural standards by not sending patches back to Linus, as well as many companies violating the GPL licenses by not distributing source to their customers.
Re:60x speed-up of Linux “perf” by pabs3 on Thursday September 09, 2021 @09:09PM (#28476651)
A couple of interesting posts from Software Freedom Conservancy make it clear that what Tivo did (breaking proprietary software when reinstalling Linux) is allowed, even by the GPLv3 and that allowing reinstall of libre software is a requirement of the GPLv2 license.

https://sfconservancy.org/blog/2021/jul/23/tivoization-and-t... https://sfconservancy.org/blog/2021/mar/25/install-gplv2/ https://events19.linuxfoundation.org/wp-content/uploads/2017...

Re:60x speed-up of Linux “perf” by boomboomsubban on Thursday September 09, 2021 @03:12PM (#28473466)
Most GPL licenses permits their code to be redistributed as the same GPL version or any later version of the GPL, Linux releases as GPLv2 or later for example.

Perf does not permit the license to be redistributed as anything except GPLv2, so it conflicts with GPLv3 code.

Re:60x speed-up of Linux “perf” by Someone on Thursday September 09, 2021 @03:38PM (#28473758)
“Linux releases as GPLv2 or later for example”

Linux doesn’t use “or later”. https://github.com/torvalds/linux/blob/master/COPYING:

The Linux Kernel is provided under:

  SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
Being under the terms of the GNU General Public License version 2 only, according with:

  LICENSES/preferred/GPL-2.0
With an explicit syscall exception, as stated at:

  LICENSES/exceptions/Linux-syscall-note
In addition, other licenses may also apply. Please see:

  Documentation/process/license-rules.rst
for more details.

All contributions to the Linux Kernel are subject to this COPYING file.

Re:60x speed-up of Linux “perf” by Matthias1 on Thursday September 09, 2021 @04:27PM (#28474262)
Sure, it's not the license itself. But this does read like a problem. It's difficult to imagine that the authors of libbfd licensed it under GPLv3 because they wanted to ensure that no one would link it against perf. Maybe they do have strong feelings about supporting that license.

But this is an example of the ugly side of open source licensing. A lot of people don't have strong feelings about ensuring the distribution terms of their code, and just don't care how it's used. And in those cases, it can be annoying to have e.g. opensource.org insist that GPLv3 is the best option.

Edit: To be more specific, I mean that this problem could be avoided if both softwares were released under a public-domain-equivelent license. But of course, that will never happen.

Re:60x speed-up of Linux “perf” by Dylan16807 on Thursday September 09, 2021 @06:42PM (#28475544)
The difference in license only matters because of a broad interpretation of virality. The easy way to show this is to mentally replace GPL with LGPL and notice that the problem disappears.
Re:60x speed-up of Linux “perf” by for1nner on Thursday September 09, 2021 @11:44AM (#28470940)
> The authors' decision to license theis works this way causes the problem.

I'm not sure how you can rationally make an argument for a framework that literally limits the use of improved or more performant code/technology/understanding simply because it does not share a philosophical view of IP/ownership/sharing.

This is the core of the problem with IP in the real world as well, and I find it mind-boggling that we don't look at the SYSTEM and see it as problematic.

Re:60x speed-up of Linux “perf” by aseipp on Thursday September 09, 2021 @01:25PM (#28472209)
Actual IP law and how it conducts itself in the real world has plenty of issues to be sorted out, but there are tons of potential "inefficiencies" in the real world that could be exploited and rectified across a vast array of things, but aren't, due to combinations of social politics, law, philosophy, etc preventing it. That some potential efficiency is on the table in theory, but can't be reaped due to those things, is nowhere remotely close to "mind boggling"
Re:60x speed-up of Linux “perf” by pessimizer on Thursday September 09, 2021 @12:49PM (#28471767)
It doesn't limit it any more than if it were proprietary and you couldn't afford it.
Re:60x speed-up of Linux “perf” by Spivak on Thursday September 09, 2021 @09:57AM (#28469739)
It seems odd that the takeaway is "GPL sucks because it got in my way" and not "both authors' explicit wishes were respected." Assuming that this is in error and this isn't what the authors wanted to happen then it's fixable by someone changing their license.
Re:60x speed-up of Linux “perf” by ziml77 on Thursday September 09, 2021 @10:30AM (#28470078)
It's fixable with a license change, but in practice that's impossible for large projects. Without a CLA, every individual who's contributed is a copyright owner. If you can't get every single one of them to agree to change it, then the license is stuck. And it doesn't matter if the reason you can't get them to agree is because they've become uncontactable or died.
Re:60x speed-up of Linux “perf” by aaomidi on Thursday September 09, 2021 @10:34AM (#28470129)
If they're dead then they're not going to stop you from changing the license.

What are they gonna do? Sue you from beyond the grave?

Re:60x speed-up of Linux “perf” by dvdkhlng on Thursday September 09, 2021 @10:40AM (#28470211)
I think copyright is inherited by the heirs (in most cases relatives of the deceased) and carries on quite a long time after death. So the relatives may actually sue you, and any discussion WRT relicensing would have to be addressed to them.

I actually consider putting something into my will that states that all my open-source contributions are relicensed to "public domain" (CC0 [1]) once I die.

[1] https://creativecommons.org/share-your-work/public-domain/cc...

Re:60x speed-up of Linux “perf” by pabs3 on Thursday September 09, 2021 @09:17PM (#28476700)
Its also possible to transfer your copyrights before your death. For example to the FSF or to Software Freedom Conservancy. I hear there are tax implications for copyright bequeathment, which is why transferring copyrights is preferred.

https://sfconservancy.org/copyleft-compliance/

Re:60x speed-up of Linux “perf” by CodeWriter23 on Thursday September 09, 2021 @10:37AM (#28470170)
Their heirs could do precisely that.
Re:60x speed-up of Linux “perf” by colejohnson66 on Thursday September 09, 2021 @11:15AM (#28470595)
Yep. It’s how the Marvin Gaye lawsuits these past few years have been able to happen (despite him being dead). His estate is suing.
Re:60x speed-up of Linux “perf” by junon on Thursday September 09, 2021 @10:40AM (#28470198)
IANAL but I believe a Qui Tam could take place by surviving family. Or inherited copyrights, etc.
Re:60x speed-up of Linux “perf” by faho on Thursday September 09, 2021 @10:37AM (#28470169)
Inheritance exists.
Re:60x speed-up of Linux “perf” by simion314 on Thursday September 09, 2021 @10:56AM (#28470385)
> more issues than it solves.

Can you explain how you reach this conclusion? Assuming the GPL did not exist and the author would have made stuff proprietary, would that be better ?

Some people like me would share code with GPL3 or later, why the f* should we give it to you as BSD? are you running on your devices only BSD code or MIT code ? or are you running proprietary software but for some reason making all stuff BSD will make your job easier since you could mindlesly copy paste shit in your proprietary stuff?

Re:60x speed-up of Linux “perf” by adwn on Thursday September 09, 2021 @10:59AM (#28470420)
> Assuming the GPL did not exist and the author would have made stuff proprietary, would that be better ?

That's a false dichotomy – there are many more open source licenses which wouldn't have led to the problem described in the article.

Re:60x speed-up of Linux “perf” by simion314 on Thursday September 09, 2021 @11:18AM (#28470635)
But respect the author decision, maybe the "problem" is what the author desired to happen.
Re:60x speed-up of Linux “perf” by tlamponi on Friday September 10, 2021 @03:00AM (#28478548)

  > E: Downvoters, have you read the article? The program started a new process for each address lookup instead
  > of using a library because that library is GPL.
  >
  > Shall we have a discussion? 
Yeah no, they simply had a bad alternative implementation which could have been just as fast as the licence incompatible library call:

  >  non-bfd, without patch:  7m59s
  >  non-bfd, with patch:       15s
  >  bfd:                       15s 
-- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911815#38

The same could have happened due to other reasons for alternative implementation, that range from availability of more than one implementation with different advantages and disadvantages, different OS the code needs to run on, or simply preference.

Blaming the license in this case is just short-sighted and with the wording used it just shows a bias of yours against the GPL, but not actual will to participate in a meaningful discussion on the linked thematic.

Re:60x speed-up of Linux “perf” by lnxg33k1 on Thursday September 09, 2021 @10:35AM (#28470147)
I guess MIT and Apache would be better, so that company can make billions on the code and contributors would still be poor (see AAPL -> FreeBSD)
Re:60x speed-up of Linux “perf” by NelsonMinar on Thursday September 09, 2021 @10:41AM (#28470213)
You understand there's nothing in the GPL that prevents companies from making billions on the code without compensating the contributors?
Re:60x speed-up of Linux “perf” by lnxg33k1 on Thursday September 09, 2021 @10:45AM (#28470267)
The thing is with GPL you have to contribute back, see how much Linux has grown in functionalities and how backwards are other kernels with MIT

--- You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange;

Re:60x speed-up of Linux “perf” by dasyatidprime on Thursday September 09, 2021 @11:09AM (#28470525)
The GPL doesn't require “contributing back”.

You can't just give out binaries without source, but you can choose not to release anything. The thing is, as usage models shift to include a lot of what the FSF very reasonably relabels SaaSS (Service as a Software Substitute), you can release nothing but provide the functionality over the network and reasonably expect people to use it that way. Since you haven't distributed the software itself to anyone, the GPL doesn't put you out of compliance for not showing them your code or letting them distribute it further.

This is the situation the Affero GPL (AGPL) was intended to address—it requires (or tries to require) that source code also be accessible to anyone who is given access to the software over a network. (Imprecisely speaking, that is; do check the license text if you want the specifics.)

Re:60x speed-up of Linux “perf” by Dylan16807 on Thursday September 09, 2021 @06:48PM (#28475597)
> very reasonably relabels SaaSS (Service as a Software Substitute)

Heck no. "as a" already means that. Rewriting the acronym is far more petty than reasonable.

Re:60x speed-up of Linux “perf” by dasyatidprime on Thursday September 09, 2021 @10:27PM (#28477099)
They both contain both elements, but the point is to sharply alter the emphasis. “Software as a Service” is a reasonable description in the salience model of the mainstream software industry, because it is something that you choose and integrate and use like software, except it just so happens to be a service, coming with various costs like subscription fees and very direct vulnerability to upstream changes, and various benefits like installation and maintenance functions being centralized far away where you don't have to directly manage them.

“Service as a Software Substitute” pushes the ‘service’ part to be the most salient. It depicts something which is fundamentally a service, where ‘substitute’ once more emphasizes that you do not, in fact, have the software itself, even though it is taking the role of software. The FSF considers this very important, because they wish users to be able to copy and modify the software they use, and pseudo-distribution purely as a service does not naturally allow for this. If that is not something you care about, then the emphasis will seem strange, yes.

Re:60x speed-up of Linux “perf” by Dylan16807 on Friday September 10, 2021 @02:54AM (#28478515)
I do care about it. That doesn't make it less petty, the same way M$ is petty.
Re:60x speed-up of Linux “perf” by josephg on Thursday September 09, 2021 @11:05AM (#28470481)
The most recent exploitation of opensource code comes from Amazon & friends making their own paid, hosted versions of redis, elastic search, mongodb, and so on. And not making any sort of proportionate contribution to the developers - whose free work their profits entirely rely on.

And in this case I’m not sure how gpl helps. With gpl2 you only need to distribute source code if you distribute binaries - so they have no legal obligations there. And Amazon isn’t really making meaningful changes to elasticsearch and friends anyway, so having the license require them to opensource their changes is a bit moot.

Re:60x speed-up of Linux “perf” by colejohnson66 on Thursday September 09, 2021 @11:13AM (#28470576)
That’s a shortcoming of the GPL: it doesn’t consider interactions over the network “distribution”. It’s the reason the AGPL exists. IMHO, GPL software that could be expected to run in SaaS form should be AGPL.
Re:60x speed-up of Linux “perf” by Macha on Thursday September 09, 2021 @05:39PM (#28474987)
It's also worth noting that GPL become more accepted in the corporate world because SaaSS defanged it. AGPL is toxic to companies now, but when everyone was releasing desktop software, GPL was treated the same way.
Re:60x speed-up of Linux “perf” by fabianhjr on Thursday September 09, 2021 @11:24AM (#28470711)
AGPL-like clauses classifying usage through network as distribution would help there and many platform capitalism[1] companies are against AGPL[2] for that reason.

[1]: https://theceme.org/richard-godden-platform-capitalism-nick-...

[2]: https://opensource.google/docs/using/agpl-policy/

Re:60x speed-up of Linux “perf” by lnxg33k1 on Thursday September 09, 2021 @11:21AM (#28470671)
Can someone with legalese knowledge make a license that states that you have to donate back 5% of the revenue you get from using a software?
Re:60x speed-up of Linux “perf” by toast0 on Thursday September 09, 2021 @01:02PM (#28471888)
Not really, or at least the license would be very unappealing.

You'd need a method of determining revenue and then apportioning revenue amongst the many parts of a system. Then there's transfer pricing issues. Not to mention audit requirements. See also Hollywood accounting.

One of the ways open source gets adoption is because using open source with an acceptable license is often much less hassle than paying for commercial software and complying with commercial software license requirements.

Re:60x speed-up of Linux “perf” by lnxg33k1 on Thursday September 09, 2021 @01:11PM (#28472036)
Yeah it's frustrating, i would never work on a open source project as i don't really get why companies can make money using something from the unpaid labour of someone else, and for our society that's acceptable
Re:60x speed-up of Linux “perf” by toast0 on Thursday September 09, 2021 @02:56PM (#28473254)
I've done a few open source things, mostly bugfixes or minor enhancements. Most of those I was being paid by my employer for, and it was either something I wanted available more widely and it was worth going through the process or it was a pain to manage patches so it saved me time to get it accepted upstream.

Either way, I don't get paid a royalty for work for hire from my past employers, so I don't expect a royalty from anyone else. And I've not worked on a project basis either; so I'm getting paid for having my butt in the seat and anything that happens afterwards is a happy accident.

I've open sourced some personal stuff too, although I don't know that anyone has looked at it. That stuff is usually more like nobody should need to write this again. Not much commercial market for a PPPoE client that can handoff to a standby machine anyway, but maybe it will be useful for someone, some day.

I've got another project in the works, but it's mostly a bit of glue around other people's open source code. If I wasn't retired, I'd try to get an employer to pay me to write it (and it would get done faster!), but I can't see why anyone would pay for just the software. Consulting on the software, sure; but then again, if you were to rely on it, you'd probably want to cultivate in-house expertise to reduce dependency on outside help.

Re:60x speed-up of Linux “perf” by fabianhjr on Thursday September 09, 2021 @03:40PM (#28473774)
You would probably be more fond of Anti-Capitalist Software License, CoopyLeft Software License, Proseperity Software License or other Copyfair or Copyfarleft licenses.

List and more references: https://github.com/LibreCybernetics/awesome-copyfarleft

Re:60x speed-up of Linux “perf” by citrin_ru on Thursday September 09, 2021 @11:23AM (#28470700)
> The thing is with GPL you have to contribute back

Not contribute, but share the sources if they distribute a binary which uses code derived from GPL-ed one. Wireless router vendors used to share modified sources as an archive on some obscure ftp without comments and documentation (so you'll have a hard time building a binary from these sources). It's better than nothing, but this is not a contribution.

Re:60x speed-up of Linux “perf” by shrimp_emoji on Thursday September 09, 2021 @11:04AM (#28470469)
But companies wouldn't use it anyway since it's GPL.

Enter MPLv2, with the best of both worlds:

- not viral copyleft

- but users DO have to contribute back

Re:60x speed-up of Linux “perf” by jabl on Thursday September 09, 2021 @01:32PM (#28472307)
MPLv2 is a fine weak copyleft license, but I'm not really sure it prevents people from not contributing back if that's what they want: just put your proprietary code in a different file, add minimal API's to the MPL code so you can use it.

So in that sense it's only very marginally 'better' than a fully permissive license.

Re:60x speed-up of Linux “perf” by pathseeker on Thursday September 09, 2021 @11:36AM (#28470850)
Right, and GPL is making all of us open source devs rich. I can't fathom getting into open source and then getting mad when people use your tools to great success.
Re:60x speed-up of Linux “perf” by marcodiego on Thursday September 09, 2021 @01:44PM (#28472460)
GPL didn't made me rich but it allows me to use high quality open source free software.
Re:60x speed-up of Linux “perf” by junon on Thursday September 09, 2021 @10:44AM (#28470248)
There's nothing that prevents me from using GPL code commercially...
Re:60x speed-up of Linux “perf” by bityard on Thursday September 09, 2021 @02:46PM (#28473142)
With the "viral" name-calling you have already demonstrated that you don't want a rational discussion.
Re:60x speed-up of Linux “perf” by Dylan16807 on Thursday September 09, 2021 @06:42PM (#28475538)
No, using the normal term does not demonstrate that.
Re:60x speed-up of Linux “perf” by AstralStorm on Thursday September 09, 2021 @09:53AM (#28469690)
No. That is the case of Linus Torvalds not using the standard "or later" clause. He has his (bad) reasons.

The incompatibility is caused by "lack of restrictions" clause. Without that, GPL becomes essentially BSD with all the corporate thievery that entails.

Re:60x speed-up of Linux “perf” by yakubin on Thursday September 09, 2021 @09:54AM (#28469703)
The "or later" clause is a backdoor. Not wanting backdoors in your license doesn't seem like a bad reason to me.
Re:60x speed-up of Linux “perf” by globular-toast on Thursday September 09, 2021 @10:35AM (#28470148)
So what's the solution? You can use a permissive licence which has a huge "backdoor" allowing derivatives to turn up under any licence, including GPLv3 (or v4). Or you can use GPLv2 with no "or later" clause which means you get situations like this.
Re:60x speed-up of Linux “perf” by yakubin on Thursday September 09, 2021 @11:36AM (#28470855)
This incompatibility is a unique feature of GPL. Wherever it goes, it's incompatible with something (in this case, with itself). You could use MPL or CDDL and, as long as GPL isn't involved, you won't have problems with license compatibility.

However, in the case of the Linux kernel (which "perf" is distributed with) changing the license is not an option --- no CLA and, even if it was practical to ask so many people for permission, many contributors are dead now. So here the only option is using dependencies which are compatible with GPLv2. So maybe we need a new library to replace libbfd, which would be more permissively licensed.

Re:60x speed-up of Linux “perf” by globular-toast on Thursday September 09, 2021 @02:24PM (#28472928)
It's not a feature of GPL, it's an unfortunate side-effect of copyleft. If you have a better way to "disable" copyright than copyleft then I'm sure it would supersede the GPL.
Re:60x speed-up of Linux “perf” by josefx on Friday September 10, 2021 @02:40AM (#28478451)
> If you have a better way to "disable" copyright than copyleft then I'm sure it would supersede the GPL.

In absence of copyright anyone could publish binaries build on GPL code without sharing the sources. So a central feature of the GPL would cease to be if copyright was in any way disabled. Saying the GPL is about disabling copyright is about as true as McDonalds being about healthy diets.

Re:60x speed-up of Linux “perf” by yakubin on Friday September 10, 2021 @03:27AM (#28478689)
MPL and CDDL are copyleft licenses as well. It is a feature of GPL.
Re:60x speed-up of Linux “perf” by jraph on Thursday September 09, 2021 @11:39AM (#28470887)
Well, I don't think I agree with him and would licence GPL code with the "or later" clause, but he has a very reasonable and convincing argument against it.

See this video of him explaining his take on GPLv3 and the "or later" clause at Deb Conf if you are interested: https://www.youtube.com/watch?v=PaKIZ7gJlRU

Re:60x speed-up of Linux “perf” by kevincox on Thursday September 09, 2021 @10:32AM (#28470110)
"or later" is a hack to get around the fact that the GPL is basically incompatible (I need a better word because this is overloaded) with itself if you change the name. If you want to use GPL and GPLRenamed libraries in the same project the only option is to relicence the project under both licences. This may be possible if you have few dependencies and few authors. But if you want to depend on a new library after some authors have become uncontactable you basically can't.
Re:60x speed-up of Linux “perf” by josteink on Thursday September 09, 2021 @10:48AM (#28470303)
> That is the case of Linus Torvalds not using the standard "or later" clause. He has his (bad) reasons.

Linus does not think GPLv3 is a good or fitting license for the Linux-kernel and that it changes too much things to be considered a new version of the same license as GPLv2.

So he refuses to add the “or later” backdoor which would effectively relicense “his” kernel with a license he does not approve of.

Is that not his right?

Re:60x speed-up of Linux “perf” by colejohnson66 on Thursday September 09, 2021 @11:17AM (#28470616)
It is, but we can still be petty about it.
Re:60x speed-up of Linux “perf” by kaikki on Thursday September 09, 2021 @09:55AM (#28469717)
What is a good source to get an understanding of all the Licenses and their relation?
Re:60x speed-up of Linux “perf” by jcranmer on Thursday September 09, 2021 @10:45AM (#28470258)
Here's a brief summary of major licenses:

MIT, X11, BSD (2- or 3-clause), and more similar ones I can't name off the top of my head: these are the basic do-what-you-want license, the only requirements are things that every (good) license already has, such as standard limitation-of-warranty clauses and retention of copyright notice requirements.

Apache (v2): This is the next stage up, which means that the text is lengthier and somewhat denser legalese, but also covers more topics such as trademarks and especially patents. The patent clause here includes a provision that any patent licenses are revoked if you sue the authors for patent infringement.

MPL (v2): This is a weak copyleft requirement, which means that you must provide any changes to the source code when you distribute the binary and additionally the resultant code must be licensed under the same terms, although it only applies on a per-file basis. EPL, CDDL are broadly similar to the MPL, with a few differences in the legal minutiae.

LGPL: Weak copyleft again, except now it's on a per-library basis. [Although, to be honest, the definition of per-library basis isn't entirely clear for non-C/C++ code.]

GPL: Strong copyleft, which means that you pretty much have to use GPL if you reuse the code.

AGPL: Even stronger than GPL, you have to distribute sources to anyone who uses your code over the network.

With the GPL family, there's a distinction between version 2.1 and version 3 that retains relevance, because some people objected to the changes in GPLv3 (notably the anti-Tivoization clause and patent clause changes) and refused to move to GPLv3, with the Linux kernel being the most notable project to refuse to do so.

As for relation, well, any license more complicated than Apache includes lots of legal minutiae that makes it somewhat hard to render judgement if two licenses are compatible or not. In general, though, you can usually use an earlier license in this list in a project that uses a later license, but usually only if both licenses are the latest version (as the most recent updates added some compatibility escape hatches).

Re:60x speed-up of Linux “perf” by ninkendo on Thursday September 09, 2021 @03:45PM (#28473835)
One thing worth noting about AGPL, is that it also changes the definition of "derived work" to also include "accessing code over the network", so that if you operate a SaaS that includes an AGPL service in your network diagram, your entire SaaS has to be opened.

IMO, the gist of the GPL boils down to:

> If you "distribute" a "derived work" of this code, you have to release your code as well (under the same terms.)

AGPL not only interprets "distribute" to mean "offer up as a service over the network", but it also interprets "derived work" the same way. This is why anyone who uses (say) MongoDB in a company basically has to pony up for the commercial license, lest they be required to open source huge parts of their company.

Re:60x speed-up of Linux “perf” by gautamcgoel on Thursday September 09, 2021 @06:11PM (#28475253)
> The patent clause here includes a provision that any patent licenses are revoked if you sue the authors for patent infringement.

I don't understand this part. Why is this useful?

Re:60x speed-up of Linux “perf” by Kliment on Friday September 10, 2021 @03:28AM (#28478701)
Facebook uses your code. Facebook wants to sue you for patent infringement. Doing that makes them no longer have the right to use your code, so they're deterred from suing you.
Re:60x speed-up of Linux “perf” by junon on Thursday September 09, 2021 @12:44PM (#28471686)
Nice writeup, and for all intents and purposes seems accurate for anyone wondering.
Re:60x speed-up of Linux “perf” by Someone on Thursday September 09, 2021 @10:43AM (#28470236)
It isn’t easy, but these can help:

- https://en.wikipedia.org/wiki/Comparison_of_free_and_open-so... has a feature matrix for about 40 licenses

- https://joinup.ec.europa.eu/collection/eupl/solution/joinup-... has a comprehensive set of features you might want a license to have, and shows matching licenses.

You still would have to read up on what terms such as “trademark”, “copyright” or “copyleft” mean.

Re:60x speed-up of Linux “perf” by spicybright on Thursday September 09, 2021 @10:01AM (#28469771)
I've used this in the past. https://choosealicense.com/
Re:60x speed-up of Linux “perf” by felixc on Thursday September 09, 2021 @03:08PM (#28473420)
Re:60x speed-up of Linux “perf” by matheusmoreira on Thursday September 09, 2021 @12:18PM (#28471367)
The root cause is copyright. If it were to be abolished, no one would ever have to think about licensing ever again. None of this pain would exist.

Think about all the time that would be saved when people no longer need to think about all this lawyer bullshit.

Re:60x speed-up of Linux “perf” by junon on Thursday September 09, 2021 @12:31PM (#28471524)
Not sure if this is a pisstake on my argument, but a world without copyright (or something similar) would be a world of endless exploitation and stifled innovation.
Re:60x speed-up of Linux “perf” by wizzwizz4 on Thursday September 09, 2021 @12:36PM (#28471587)
Copyright as it exists today does an awful lot of exploitation-enabling and innovation-stifling in itself. (And that's ignoring the rest of the IP suite.)
Re:60x speed-up of Linux “perf” by junon on Thursday September 09, 2021 @12:42PM (#28471664)
This is like saying "cops today do a lot of nasty stuff, let's get rid of all cops". The result is pure, unmitigated anarchy, looting, murder, and lawlessness.

I don't find either to be useful lines of thinking.

Re:60x speed-up of Linux “perf” by matheusmoreira on Friday September 10, 2021 @10:10AM (#28481811)
Not really. Things would be pretty simple. You see something? You can copy it. Not a single legalese document in sight.

Don't compare this stuff to police brutality, looting, murder. They're not even in the same realm. Intellectual property is just ideas and absurd notions of ownership. It's like trying to own numbers. The real brutality is sending people to jail over this.

Re:60x speed-up of Linux “perf” by matheusmoreira on Friday September 10, 2021 @09:56AM (#28481615)
> a world without copyright (or something similar) would be a world of endless exploitation and stifled innovation

Says who? The copyright monopolists?

There's plenty of historical evidence to the contrary:

https://news.ycombinator.com/item?id=28330810

It seems obvious in hindsight. Less monopolies lead to more competition and better products. Even the US engaged in such infringement.

Re:60x speed-up of Linux “perf” by olliej on Thursday September 09, 2021 @04:45PM (#28474445)
In the absence of copyright things like the GPL would have no power - a company could take your work and bundle it into their product and never contribute anything back ever.
Re:60x speed-up of Linux “perf” by pabs3 on Thursday September 09, 2021 @09:19PM (#28476709)
And then you could copy what they produced the result without paying them, I expect the pirate sites would still exist without copyright.
Re:60x speed-up of Linux “perf” by matheusmoreira on Friday September 10, 2021 @09:47AM (#28481502)
In the abscence of copyright, copying some company's work would not be a crime either.