GitHub - blat-blatnik/B-Library: A collection of personal, single-header C and C++ libraries similar to the STB libraries. All avaliable in the public domain.

GitHub

A collection of personal single-header C/C++ libraries similar to the

stb libraries

. They are all public domain (alternatively MIT licenced).

librarylatest versioncategorylanguageLoCdescription

bmath.hpp

0.32mathC++033474type generic 2, 3 and 4D vector, matrix and quaternion algebra - alternative to

GLM

bmem.h

0.2utilityC99598quick & dirty memory leak-checking and temporary storage implementation

bdebug.h

1.0utilityC99263assertion macro and logging function

bfile.h

0.1utilityC99259linux/windows file utilities - dynamically track file changes

brng.h

0.9utilityC99212simple

PCG generator

implementation

bcpuid.h

1.0utilityC99433determine processor features, core count, and cache size at runtimeAll 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.