#singleheader

N-gated Hacker Newsngate
2025-04-14

🚀🎩 Behold: a "single-header profiler" for ++17 — because who doesn't love cramming more into one header file, ensuring that your codebase is both a tangled mess and a monument to "efficiency"? 🙈 It's on , a site that never met a poorly structured code dump it didn't love.
github.com/DmitriBogdanov/UTL/

2022-03-14

#dvector is a #publicdomain #singleheader vector/matrix math #library.

dvector is a simple library that provides types and operations for several vector and matrix sizes. dvector only relies on the standard library, allowing it to be used nearly everywhere.

Website 🔗️: github.com/BareRose/dvector

#free #opensource #foss #fossmendations

2022-02-28

#Tina is a #singleheader #coroutine #library for #C.

Tina provides simple to use interfaces for creating and managing lightweight, fast coroutines on a range of operating systems. Tina supports both symmetric and asymmetric coroutines. Tina can also be made to use pre-allocated memory instead of performing dynamic allocation.

Website 🔗️: github.com/slembcke/Tina

#free #opensource #foss #fossmendations #programming

2022-01-25

#GUILite is a lightweight #singleheader GUI #library.

GUILite is a generic GUI library which has a simple architecture that is suited to many platforms. GUILite's input and output systems can be adapted to any platform, from major operating systems, RTOS, or bare metal. GUILite provides common widgets, but can be extended with custom widgets as required.

Website 🔗️: github.com/idea4good/GuiLite

#free #opensource #foss #fossmendations #programming

2022-01-22

#JSONh is a #singleheader #JSON parser for #C and #Cpp.

json.h is a simple, configurable parser for JSON. json.h features a simple interface which parses a string to specification, but also provides a configurable interface where both allocation and various aspects of parsing can be altered. Feature flags can be used to greatly alter the allowed syntax.

Website 🔗️: github.com/sheredom/json.h

#free #opensource #foss #fossmendations #programming

2021-12-23

#nibrans is a #publicdomain nibble based rANS coder.

nibrans is an #singleheader #SSE2 accelerated encoder and decoder for the rANS arithmetic coding format. rANS offers near-optimal data compression while having an adaptable frequency structure, unlike Huffman coding which uses a static structure. nibrans encode and decode data at a rate of up to 75-95 megabytes per second.

Website 🔗️: github.com/BareRose/nibrans

#free #opensource #foss #fossmendations #programming #library #compression

2021-12-08

#ddsktx is a #singleheader DDS and KTX reader.

dds-ktx loads files in the DDS (DirectDraw Surface) and KTX (Khronos Texture) formats. dds-ktx performs no allocations, and does not attempt to convert pixel data, instead it fills in a structure definining where the textures within a file are, as well as the file's metadata. Included is #ctexview, for viewing textures in a #GUI.

Website 🔗️: github.com/septag/dds-ktx

#free #opensource #foss #fossmendations #programming #graphics

2021-11-18

#tinydir is a #singleheader, portable directory reader.

tinydir provides a portable interface for opening and iterating through directories, as well as getting information on files. tinydir's interface is simple, reading data into a struct which provides the name, path, extension, and whether the file is a directory or not. tinydir operates on both Windows and POSIX.

Website 🔗️: github.com/cxong/tinydir

#free #opensource #foss #fossmendations #programming

2021-11-16

#libs is a collection of #publicdomain #singleheader libraries in #C.

libs contains several self contained libraries for various purposes. Included are random number generators, threading utilities, data structures, an INI parser, simple graphical program toolkit, as well as HTTP request handler. libs also includes a text-to-speech algorithm translated from C++.

Website 🔗️: github.com/mattiasgustavsson/l

#free #opensource #foss #fossmendations #programming #mattiasgustavsson

2021-11-02

#kissnet is a simple #Cpp #networking #library.

kissnet is a #singleheader cross-platform wrapper for the platform's socket API. kissnet abstracts away obscure protocols and endianness, providing a simple API for sending data over the network via TCP or UDP. kissnet can run as a client or server, and supports #TLS/#SSL.

Website 🔗️: github.com/Ybalrid/kissnet

#free #opensource #foss #fossmendations #programming

2021-10-22

#rpng is a low-level #PNG #library for #C.

rpng is a dependencyless #singleheader library for managing chunks of PNG data using a standalone DEFLATE implementation. rpng only relies on a subset of the standard library, and can be configured to use user-provided functions. rpng supports reading/writing with files as well as memory, and has some utility functions, including a CRC verifier.

Website 🔗️: github.com/raysan5/rpng

#free #opensource #foss #fossmendations #programming #compression

2021-09-26

#acutest is a #singleheader unit testing framework for #C and #Cpp.

acutest provides macros and structure for defining unit tests. Each test is a simple function that performs checks. acutest executes tests as child processes by default, but supports single process use when debugging. acutest supports diagnostic messages, test vectors, exception checks, and CLI arguments for running only specific tests.

Website 🔗️: github.com/mity/acutest

#free #opensource #foss #fossmendations #programming

2021-09-23

#tinyobjloaderc is a #singleheader OBJ loader for #C.

#tinyobjloader is a #library that loads Wavefront OBJ files into easy to use structures. tinyobjloader is implemented in pure C, only relying on the standard library, with support for using custom memory allocation functions. tinyobjloader supports loading material files.

Website 🔗️: github.com/syoyo/tinyobjloader

#free #opensource #foss #fossmendations #programming

2021-08-25

#cuteheaders is a collection of #publicdomain #singleheader libraries.

cute_headers includes many #C and #Cpp headers that provide a wide range of functionality, mainly for #gamedev. cute_headers features an #Asesprite file loader, sound playback/mixer, 2D (vector) and 3D math, UTF handling, font rendering, and more. Most libraries include examples that display how they can be used.

Website 🔗️: github.com/RandyGaul/cute_head

#free #opensource #foss #fossmendations #programming

2021-08-17

#ELFIO is a #singleheader #Cpp #ELF #library.

ELFIO provides utilities that interact with Extensible Linkable Format (ELF). ELFIO can read various fields present in an ELF file, as well as data and other sections. ELFIO also can write new ELF data with simple set commands that operate sensibly for setting flags and creating sections.

Website 🔗️: elfio.sourceforge.net/

#free #opensource #foss #fossmendations #programming

2021-08-04

#nobuild is a compiler-only build system.

nobuild is a #singleheader #C #library for writing programs that compile other programs. Unlike other build systems, the sole dependency for nobuild is a C compiler (and system libraries), allowing it to be used anywhere. Building a nobuild program is as simple as compiling nobuild and running it to automatically compile the rest.

Website 🔗️: github.com/tsoding/nobuild

#free #opensource #foss #fossmendations #programming

2021-07-11

#CHOC is a collection of #singleheader #Cpp libraries.

CHOC (Clean Header Only Classes) contains several libraries for performing various actions in C++. CHOC includes fast round trip float to string conversion, typed values that can be used in JSON, audio sample buffers, #UTF8 handling, code formatting, a simple wrapper for #Duktape (#JavaScript), and more.

Website 🔗️: github.com/Tracktion/choc

#free #opensource #foss #fossmendations #programming

2021-07-07

#minimp3 is a #publicdomain #MP3 decoder.

minimp3 is a standards-compliant #singleheader #C library that decodes MP3 data in buffers, frames, or in a streaming manner. minimp3 is quite simple, only having a handful of API functions for decoding MP3 data. minimp3 can iterate through frames, seek to positions, and supports SIMD as well as dealing with files with non-MP3 (ID3) or invalid data.

Website 🔗️: github.com/lieff/minimp3

#free #opensource #foss #fossmendations #programming

2021-06-25

#tomlPlusPlus is a #TOML parser for #Cpp.

toml++ is a #singleheader #library that parses and serializes data in the TOML format. toml++ provides a variety of ways to alter TOML data, including iterators, C++ style access to elements, and lower level access for accessing the underlying structure. toml++ supports serializing data as #JSON.

Website 🔗️: marzer.github.io/tomlplusplus/

#free #opensource #foss #fossmendations #programming

2021-06-05

#jsoncons is a #singleheader #Cpp #library for parsing #JSON-like formats.

jsoncons has a data model that allows for parsing different formats that resemble JSON, like #CBOR and #BSON, using extensions. jsoncons provides several ways of interacting with parsed data; a query-able structure, a strongly typed C++ class, or a SAX-like parse stream. jsoncons is fast, and has extensions for things like JSONPath.

Website 🔗️: danielaparker.github.io/jsonco

#free #opensource #foss #fossmendations #programming

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst