licenses and all that jazz

I will start with a history Im sure I listened somewhere, but cant find, probably I just dreamed of it, but it was something like

There was this guy that worked everyday for a company and it the night at home rewrote all in another language, them months later introduced an alternative to the company software but the code was his as there was no derivate work and was made on his time and own resources, so the demand lead no where.

I have asked some LLMs to find the source but none have found it :).

Anyway, going back to "derivate works" and GPL spread like a virus, I have seen comments like this https://github.com/microsoft/WSL/issues/178#issuecomment-249443216 about clean room implementations over GPL code like the linux kernel.

But I have always wonder, if I read any GPL code means all my code related to that are derivate works? like if I contribute to blender 3D I will not be able to contribute to private competition as I have seen the code of related work?



I mean from the "history" it seems that derivate work was flacky under a contract, but under GPL is still GPL?

I mean I have seen a lot of people said you can read some GPL code and then make your own that is why there is LGPL.

So my Qs are:

  • do you know that history? or I did smoke/dream something?
  • it is true that derivate work is anything you do after reading some other GPL code? I mean making tutorials GPL will make them unusable as you will not be able to do any future work that is not GPL at all.
  • also the source code does contain some GPL + bsd code... so that what means really, how you comply with GPL while also with bsd that allows you to keep it closed if you wanted?



Also just to add, I have seen some tools that promote input GPL code and with LLMs do a "clean room" reimplementation of the lib so you can "free yourself" from GPL.
 
No, you just have to be mindful not to copy. Most code is the way it is because it's solving the same problem and If you were to look at a bunch of codebases from private and public projects they'll be rather similar.

The area to be more concerned is if you're using processes and algorithms that originated from there and especially not reusing code with comments. You can do that, but such resulting code would need to comply with the GPL.
 
You do not need to worry about "clean room" with GPL.
As long as you do not copy the code (verbatim or with some mechanical transformation) you are free to read GPL code to pick up ideas, knowledge of hardware, etc.
Nobody will go after you. You are not "tainted".

But watch out for patented code. Some of GPL code is patented and it's a very different dimension not exactly related to GPL.
 
Back
Top