SaaSHub helps you find the best software and product alternatives Learn more →
Top 16 C single-header Projects
-
Project mention: RGFW: Single-header C99 window abstraction library | news.ycombinator.com | 2024-11-22
The one big downside I see is that if you want to actually work on the library itself, it's a pain to have to re-compile the entire thing every time you change something.
Nuklear (https://github.com/Immediate-Mode-UI/Nuklear) uses separate files with a deploy script that combines them all into a single header; I think that approach is quicker for iterating on the code.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
HandmadeMath
A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify.
-
RGFW
A cross platform lightweight single-header simple-to-use window abstraction library for creating graphical programs or libraries.
Project mention: RGFW: Single-header C99 window abstraction library | news.ycombinator.com | 2024-11-22 -
-
embedded-cli
Single-header CLI with history and autocompletion for embedded systems (like Arduino or STM32) (by funbiscuit)
-
-
clove-unit
Single-Header Unit Testing framework for C (interoperable with C++) with test autodiscovery feature
-
-
-
-
IncludeDB
Tiny key/value-store in a single, embeddable C file. For games, small servers, sbc, etc...
-
Project mention: Show HN: I made a library for dynamic stack strings in C | news.ycombinator.com | 2024-06-25
I've been playing with this arena bump allocator.
https://github.com/gilzoide/c-allocators
I've been using it with an event driven code where after an event is fired off and returns the handler just hard resets the arena.
You could probably use something like that as well.
Either way I support not mixing manual memory management with business logic.
-
-
C single-header discussion
C single-header related posts
-
RGFW: Single-header C99 window abstraction library
-
Show HN: I made a library for dynamic stack strings in C
-
Is there no simple GUI library for pure C?
-
Networking and multiplayer
-
CLib: Header-only C library that implements the most important classes from GLib
-
Making UI Library (OpenGL) in your engine
-
Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
-
A note from our sponsor - SaaSHub
www.saashub.com | 15 Jan 2025
Index
What are some of the best open-source single-header projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | nuklear | 9,526 |
2 | minimp3 | 1,642 |
3 | librg | 1,291 |
4 | HandmadeMath | 1,280 |
5 | RGFW | 817 |
6 | nbnet | 469 |
7 | embedded-cli | 255 |
8 | minivorbis | 69 |
9 | clove-unit | 46 |
10 | RFont | 36 |
11 | variation-ui | 21 |
12 | pega-texto | 18 |
13 | IncludeDB | 9 |
14 | c-allocators | 4 |
15 | testdrive | 2 |
16 | variation-lite-ui | 2 |