other_libs gets more guidelines
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Sean Barrett · committed by Sean Barrett · parent d177013 · Browse files · 1 file·+33 added−13 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+33 added−13 removed
- other:+33 added−13 removed
Provenance
- Commit
9fe0dc9- Tree
868fc84- Author
Sean Barrett <sean2@nothings.org>- Committer
Sean Barrett <sean2@nothings.org>- Parent
d177013
1 file changed+33 added−13 removed
modified:docs/other_libs.md+33 added-13 removed
1234567567891011910111213141516171819202122232425262728293031323334353637383940414243441819202122232445464748112 unmodified linesExpand all# Other single-file public-domain/open source libraries with minimal dependencies
In addition to all of [my libraries](https://github.com/nothings/stb), there are other, similar libraries.
People have told me about quite a few of these. However, I haven't used most ofthese libraries and can't comment on their quality. (If you use them and aren'ttheir author, feel free to tell me about their quality.The following list is a list of small, easy-to-integrate, portable librarieswhich are usable from C and/or C++, and should be able to be compiled on both32-bit and 64-bit platforms.
**Public domain single-file libraries usable from C and C++ are in bold.** Other libraries are either non-public domain,or two files, or only usable from C++, or all three. Libraries of more than twofiles are mostly forbidden.### Rules
- Libraries must be usable from C or C++, ideally both- Libraries should be usable from more than one platform (ideally, all major desktops and/or all major mobile)- Libraries should compile and work on both 32-bit and 64-bit platforms- Libraries should use at most two files
Exceptions will be allowed for good reasons.
### New libraries and corrections
Submissions of new libraries: I accept submissions (as issues or as pull requests). Pleasenote that every file that must be included in a user's project counts; a header and a sourcefile is 2 files, but a header file, source file, and LICENSE (if the license isn't in thesource file) is 3 files, and won't be accepted, because it's not 2 files. But actually'LICENSE' is a problem for just dropping the library in a source tree anyway, since it'snot scoped to just the library, so library authors are encouraged to include the license in thesource file and not require a separate LICENSE.
Corrections: if information for a library below is wrong, please send a correction as anissue, pull request, or email. Note that if the list indicates a library works from bothC/C++, but it doesn't, this could be an error in the list or it could be a bug in thelibrary. If you find a library doesn't work in 32-bit or 64-bit, the library should beremoved from this list, unless it's a bug in the library.
## Library listing
**Public domain single-file libraries usable from C and C++ are in bold.** Otherlibraries are either non-public domain, or two files, or only usable from C++, orall three. Libraries of more than two files are mostly forbidden.
For the API column, "C" means C only, "C++" means C++ only, and "**C**" means C/C++;I use this notation to keep the column a little narrower than "C/C++" would be.(As of this writing, the API is unknown for many libraries, and the benefit of the doubtis given for boldfacing.)
Submissions: I accept submissions (as issues or as pull requests). Please note that everyfile that must be included in the project counts; a header and a source file is 2 files,but a header file, source file, and LICENSE (if the license isn't in the source file) is 3files, and won't be accepted, because it's not 2 files. But actually 'LICENSE' is a problemfor just dropping the library in a source tree anyway, since it's not scoped to just thelibrary, so authors are encouraged to include the license in the source file.
category | library | license | API |files| description----------------- | --------------------------------------------------------------------- | -------------------- | --- | --- | -----------AI | [micropather](http://www.grinninglizard.com/MicroPather/) | zlib | C++ | 2 | pathfinding with A*audio | [aw_ima.h](https://github.com/afterwise/aw-ima/blob/master/aw-ima.h) | MIT | |**1**| IMA-ADPCM audio decoder112 unmodified linesExpand all