• merc@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      il y a 20 jours

      Yeah, you can think of the GPL as a virus that attempts to make all source code public domain.

      For people who treat their code like public domain code, the GPL has no real effect. Yes, you have to apply that license to it, but then you just let anybody use it as they would if copyright didn’t exist, or if it was in the public domain.

      The GPL only has “teeth” for people who want their copyright to prevent others from using their code. As soon as they link to GPLed code, the GPL also applies to their stuff, and they have to release it.

      If all code in the world had the GPL applied, it would effectively be no different from if all code were in the public domain and/or as if copyright didn’t exist for source code.

      Other open source licenses are less aggressive, but they all exist to allow people to use the source code in ways that they normally wouldn’t if normal copyright rules were in effect. The only one I can think of offhand that puts any real restrictions on the person who uses the code is the version of the Creative Commons license that requires attribution. If copyright didn’t exist, you couldn’t force someone to give you credit.

      • schnurrito@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        il y a 20 jours

        This is mostly, but not completely, true.

        If copyright on software didn’t exist at all (i.e. all software were public domain), there would still be nothing preventing someone from distributing software only in binary form without source code. The GPL goes slightly further than what you describe because it also requires distributing source code.

        Another slight correction: the vast majority of FOSS licenses, including the GPL, also require attribution.