SaaSHub helps you find the best software and product alternatives Learn more →
Top 22 C header-only Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Project mention: Metalang99: Full-Blown Preprocessor Metaprogramming | news.ycombinator.com | 2024-09-30
-
-
-
-
-
-
RSGL
A simple-to-use modular, cross-platform graphics library. It combines the freedom of lower-level graphics libraries with modern C techniques, offering both simplicity and convenience.
Project mention: RSGL | Modular header-only cross-platform GUI Library for easily creating GUI software your way! | dev.to | 2024-02-25The RSGL Repo can be found at : https://github.com/ColleagueRiley/RSGL
-
libcester
A robust header-only unit testing framework for C and C++ programming language. Support function mocking, memory leak detection, crash report.
-
-
Project mention: Show HN: RK Test, a Google Test style library written in C99 | news.ycombinator.com | 2023-12-11
I really like Google Test, but am planning on doing some embedded development in C, where I sometimes find it awkward to test C code using a C++ library.
Therefore, I wrote a small unit test library closely mimicking Google Test. It consists of two source files, "rktest.c" and "rktest.h", and is about 1k lines of code and written in C99.
It uses a trick for self registering tests by placing pointers to the unit test functions into a known place in program memory, that I first learned about from https://github.com/christophercrouzet/rexo/ and https://github.com/Snaipe/Criterion/.
-
-
-
-
-
-
-
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.
-
-
radian
Header-only library of macros to assist with reading and writing big/little endian values. (by raddari)
-
C header-only discussion
C header-only related posts
-
Using Jolt with flecs & Dear ImGui: Game Physics Introspection
-
Factor is faster than Zig
-
Tiny Dream – An Embedded, Header Only, Stable Diffusion C++ Implementation
-
Tiny Dream - Header-Only, Embedded Stable Diffusion Inference Library in C++
-
Tiny Dream – Header Only, Embedded Stable Diffusion C++ Library
-
Tiny Dream – An Embedded, Header Only, Stable Diffusion C++ Implementation
-
Possible security issues allowing multibyte chars?
-
A note from our sponsor - SaaSHub
www.saashub.com | 4 Dec 2024
Index
What are some of the best open-source header-only projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | librg | 1,283 |
2 | zpl | 994 |
3 | metalang99 | 877 |
4 | earcut.hpp | 865 |
5 | minicoro | 648 |
6 | Tina | 272 |
7 | tiny-dream | 250 |
8 | ctl | 173 |
9 | RSGL | 116 |
10 | libcester | 64 |
11 | sgc | 33 |
12 | rexo | 28 |
13 | pega-texto | 18 |
14 | Mathc | 16 |
15 | exile.h | 14 |
16 | roguelike.h | 11 |
17 | c-flags | 9 |
18 | PoxHash | 7 |
19 | c-allocators | 4 |
20 | cp437.h | 4 |
21 | radian | 1 |
22 | db.h | 1 |