Skip to content
Myr

why_public_domain.md

This file

Path

docs/why_public_domain.md

117 lines · 5.0 KiB · Markdown

Last changed by

Merge branch 'dev' into workingSean Barrettbefore adoptionc497f72

History of this file

Take it

The walk stopped after 200 commits: lines older than aeec66c point at it.

Merge branch 'randlong' of https://github.com/flibitijibibo/stb into workingSean Barrettbefore adoptionaeec66c

lines 1–74why, one step back
1My collected rationales for placing these libraries
2in the public domain:341. Public domain vs. viral licenses56 Why is this library public domain?7 Because more people will use it. Because it's not viral, people are8 not obligated to give back, so you could argue that it hurts the9 development of it, and then because it doesn't develop as well it's10 not as good, and then because it's not as good, in the long run11 maybe fewer people will use it. I have total respect for that12 opinion, but I just don't believe it myself for most software.13142. Public domain vs. attribution-required licenses1516 The primary difference between public domain and, say, a Creative Commons17 commercial / non-share-alike / attribution license is solely the18 requirement for attribution. (Similarly the BSD license and such.)19 While I would *appreciate* acknowledgement and attribution, I believe20 that it is foolish to place a legal encumberment (i.e. a license) on21 the software *solely* to get attribution.2223 In other words, I'm arguing that PD is superior to the BSD license and24 the Creative Commons 'Attribution' license. If the license offers25 anything besides attribution -- as does, e.g., CC NonCommercial-ShareAlike,26 or the GPL -- that's a separate discussion.27283. Other aspects of BSD-style licenses besides attribution2930 Permissive licenses like zlib and BSD license are perfectly reasonable31 in their requirements, but they are very wordy and32 have only two benefits over public domain: legally-mandated33 attribution and liability-control. I do not believe these34 are worth the excessive verbosity and user-unfriendliness35 these licenses induce, especially in the single-file36 case where those licenses tend to be at the top of37 the file, the first thing you see.3839 To the specific points, I have had no trouble receiving40 attribution for my libraries; liability in the face of41 no explicit disclaimer of liability is an open question,42 but one I have a lot of difficulty imagining there being43 any actual doubt about in court. Sometimes I explicitly44 note in my libraries that I make no guarantees about them45 being fit for purpose, but it's pretty absurd to do this;46 as a whole, it comes across as "here is a library to decode47 vorbis audio files, but it may not actually work and if48 you have problems it's not my fault, but also please49 report bugs so I can fix them"--so dumb!50514. full discussion from stb_howto.txt on what YOU should do for YOUR libs5253```54EASY-TO-COMPLY LICENSE5556I make my libraries public domain. You don't have to.57But my goal in releasing stb-style libraries is to58reduce friction for potential users as much as59possible. That means:6061 a. easy to build (what this file is mostly about)62 b. easy to invoke (which requires good API design)63 c. easy to deploy (which is about licensing)6465I choose to place all my libraries in the public66domain, abjuring copyright, rather than license67the libraries. This has some benefits and some68drawbacks.6970Any license which is "viral" to modifications71causes worries for lawyers, even if their programmers72aren't modifying it.7374Any license which requires crediting in documentation

Merge branch 'dev' into workingSean Barrettbefore adoptionc497f72

lines 75–80why, one step back
75adds friction which can add up. Valve has a huge list
76(http://nothings.org/remote/ThirdPartyLegalNotices_steam_2019.html)77of all of these included in each game they ship,78and it's insane, and obviously nobody ever looks79at it so why would you care whether your credit80appeared there?

Merge branch 'randlong' of https://github.com/flibitijibibo/stb into workingSean Barrettbefore adoptionaeec66c

lines 81–117why, one step back
81
82Permissive licenses like zlib and BSD license are83perfectly reasonable, but they are very wordy and84have only two benefits over public domain: legally-mandated85attribution and liability-control. I do not believe these86are worth the excessive verbosity and user-unfriendliness87these licenses induce, especially in the single-file88case where those licenses tend to be at the top of89the file, the first thing you see. (To the specific90points, I have had no trouble receiving attribution91for my libraries; liability in the face of no explicit92disclaimer of liability is an open question.)9394However, public domain has frictions of its own, because95public domain declarations aren't necessary recognized96in the USA and some other locations. For that reason,97I recommend a declaration along these lines:9899// This software is dual-licensed to the public domain and under the following100// license: you are granted a perpetual, irrevocable license to copy, modify,101// publish, and distribute this file as you see fit.102103I typically place this declaration at the end of the initial104comment block of the file and just say 'public domain'105at the top.106107I have had people say they couldn't use one of my108libraries because it was only "public domain" and didn't109have the additional fallback clause, who asked if110I could dual-license it under a traditional license.111112My answer: they can create a derivative work by113modifying one character, and then license that however114they like. (Indeed, *adding* the zlib or BSD license115would be such a modification!) Unfortunately, their116lawyers reportedly didn't like that answer. :(117```