B-Library

February 23, 2023 ยท View on 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.hpp0.32mathC++033474type generic 2, 3 and 4D vector, matrix and quaternion algebra - alternative to GLM
bmem.h0.2utilityC99598quick & dirty memory leak-checking and temporary storage implementation
bdebug.h1.0utilityC99263assertion macro and logging function
bfile.h0.1utilityC99259linux/windows file utilities - dynamically track file changes
brng.h0.9utilityC99212simple PCG generator implementation
bcpuid.h1.0utilityC99433determine 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.