Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes! Learn more →
Top 23 C++ cpp-library Projects
-
As for math, that was the easiest choice as of yet. No doubt, GLM is a "gold standard" at this point. For OpenGL it is, at least. But, like with a lot of the other APIs, I decided to build a wrapper around it rather than directly reference the library in the engine's code. And for physics, well, I had not come upon that answer just yet. I did try to make my own physics logic at some point. And while it was, surprisingly, successful, I wanted more than just a simple physics layer. I wanted something more complex and, more importantly, faster than my implementation. I have not decided upon a physics library yet. But I'll cross that bridge when I come to it.
-
JetBrains
Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
-
C++ REST SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
-
DirectXTK
The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++
Are there any benchmarks of Windows EH? The implementation is very different from DWARF/SJLJ EH and it would be interesting to see how they fare. I've seen some pretty exceptional claims for both sides of the argument (e.g. "[...] has no code impact for x64 native, ARM, or ARM64 platforms" [1]), but there's rarely if ever any data to back this up.
[1] https://github.com/Microsoft/DirectXTK/wiki/throwIfFailed
-
-
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, Chromium, Redis and WebKit/Safari
-
-
DirectXMath
DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
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)
-
-
Here is a bunch of simple examples: https://github.com/jfalcou/eve/blob/fb093a0553d25bb8114f1396...
I personally think we have the following strenghs:
* Algorithms. Writing SIMD loops is very hard. We give you a lot of ready to go loops. (find, search, remove, set_intersection to name a few).
-
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.
-
-
matchit.cpp
match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.
-
Project mention: CXXGraph: A Lightweight, Header-Only Graph Library for Modern C++ | news.ycombinator.com | 2025-05-20
Seems like a cool project. Are there any special projects using it?
Additional links from GitHub:
https://zigrazor.github.io/CXXGraph/
https://github.com/ZigRazor/CXXGraph
-
-
-
-
-
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
C++ cpp-library discussion
C++ cpp-library related posts
-
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
-
C++20 Faker library
-
I need help to make SSE Display Tweaks work.
-
A note from our sponsor - JetBrains
surveys.jetbrains.com | 1 Sep 2025
Index
What are some of the best open-source cpp-library projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | GLM | 10,180 |
2 | C++ REST SDK | 8,212 |
3 | DirectXTK | 2,727 |
4 | DirectXTex | 1,987 |
5 | fast_float | 1,861 |
6 | BDE | 1,748 |
7 | DirectXMath | 1,700 |
8 | DirectXTK12 | 1,643 |
9 | rang | 1,538 |
10 | lithium | 1,349 |
11 | q | 1,302 |
12 | QuickQanava | 1,291 |
13 | eve | 1,241 |
14 | ELFIO | 811 |
15 | reindexer | 791 |
16 | PicoSHA2 | 701 |
17 | matchit.cpp | 621 |
18 | CXXGraph | 621 |
19 | libnop | 578 |
20 | saucer | 558 |
21 | DuckX | 454 |
22 | stlkrn | 422 |
23 | blitz | 413 |