SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C++ cpp-library Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
DirectXTK
The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++
Project mention: MonoGame: A .NET framework for making cross-platform games | news.ycombinator.com | 2026-03-07It is kind of nice for indie games, unfortunately it is kind of stuck in what XNA 4.0 had as API surface.
And it used to be there was still some dependency on old XNA plugins for assets pipeline on Visual Studio.
No idea where this stands now.
However it was yet another example of community standing up for the anti-.NET sentiment at Windows/XBox teams, when the persons involved left XBox team, XNA was quickly replaced by DirectX TK.
"The billion dollar decision that launched XNA"
https://youtu.be/wJY8RhPHmUQ?is=jwDBVae8AhBH-ANB
https://walbourn.github.io/directxtk/
-
-
fast_float
Fast and exact implementation of the C++ from_chars functions for number types: 4x to 10x faster than strtod, part of GCC 12, MySQL, DuckDB, Chromium, Redis and WebKit/Safari
Project mention: fast_float VS str2num - a user suggested alternative | libhunt.com/r/fast_float | 2026-06-06 -
-
DirectXMath
DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
-
DirectXTK12
The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
-
-
-
lithium
Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium (by matt-42)
-
Project mention: Eve: Expressive Vector Engine – SIMD in C++ Goes Brrrr | news.ycombinator.com | 2026-04-09
-
-
ELFIO
ELFIO and ARIO are robust, header-only C++ libraries designed to make binary file and archive manipulation effortless, efficient, and portable. Whether you are building compilers, linkers, binary analysis tools, or custom build systems, these libraries provide the foundation you need for working with ELF files and UNIX archives.
-
reindexer
Embeddable, in-memory, document-oriented database with a high-level Query builder interface.
-
-
Project mention: CXXGraph vs Boost Graph Library: The Complete 2025 Comparison Guide | dev.to | 2025-11-13
git clone https://github.com/ZigRazor/CXXGraph.git cd CXXGraph/examples g++ -std=c++17 example1.cpp -I../include -o example ./example
-
matchit.cpp
match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.
-
-
-
-
metal-cpp
Metal-cpp is a low-overhead C++ interface for Metal that helps developers add Metal functionality to graphics apps, games, and game engines that are written in C++.
-
C++ cpp-library discussion
C++ cpp-library related posts
-
fast_float VS str2num - a user suggested alternative
2 projects | 6 Jun 2026 -
DirectX 11 Tutorial by Microsoft
-
C++ MCP Client/Server SDK
-
C++ exception performance three years later
-
A 94x speed improvement demonstrated using handwritten assembly
-
A Comparison of Arenas in Rust
-
2D Graphical library for C++ beginners
-
A note from our sponsor - SaaSHub
www.saashub.com | 14 Aug 2026
Index
What are some of the best open-source cpp-library projects in C++? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | GLM | 11,137 |
| 2 | DirectXTK | 2,842 |
| 3 | DirectXTex | 2,136 |
| 4 | fast_float | 2,083 |
| 5 | BDE | 1,834 |
| 6 | DirectXMath | 1,784 |
| 7 | DirectXTK12 | 1,748 |
| 8 | rang | 1,592 |
| 9 | q | 1,418 |
| 10 | lithium | 1,405 |
| 11 | QuickQanava | 1,375 |
| 12 | eve | 1,356 |
| 13 | saucer | 910 |
| 14 | ELFIO | 889 |
| 15 | reindexer | 807 |
| 16 | PicoSHA2 | 753 |
| 17 | CXXGraph | 720 |
| 18 | matchit.cpp | 648 |
| 19 | DuckX | 501 |
| 20 | stlkrn | 435 |
| 21 | blitz | 417 |
| 22 | metal-cpp | 390 |
| 23 | scapix | 352 |