A collection of personal single-header C/C++ libraries similar to the stb libraries. They are all public domain (alternatively MIT licenced).
library | latest version | category | language | LoC | description |
---|---|---|---|---|---|
bmath.hpp | 0.32 |
math | C++03 | 3474 | type generic 2, 3 and 4D vector, matrix and quaternion algebra - alternative to GLM |
bmem.h | 0.2 |
utility | C99 | 598 | quick & dirty memory leak-checking and temporary storage implementation |
bdebug.h | 1.0 |
utility | C99 | 263 | assertion macro and logging function |
bfile.h | 0.1 |
utility | C99 | 259 | linux/windows file utilities - dynamically track file changes |
brng.h | 0.9 |
utility | C99 | 212 | simple PCG generator implementation |
bcpuid.h | 1.0 |
utility | C99 | 433 | determine processor features, core count, and cache size at runtime |
All C libraries will compile as C++.
All libraries rely only on the standard library and so they should be multi-platform. The exception to this is bfile.h which relies on the OS-specific sys/stat.h
header.