Top 23 cpp-library Open-Source Projects
-
awesome-cpp
A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
Project mention: Honourable mention for their Open Source Practice: BRAVE | reddit.com/r/pcmasterrace | 2022-05-14Here's a big list of a bunch of high quality C++ libraries and codebases. Hopefully you can find something in your areas of interest and can dive into it.
-
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.
Project mention: Have there been any attempts to build a REST API service on top of either Boost.asio or Boost.beast? | reddit.com/r/cpp | 2022-04-23While it's not based on Boost Asio or Beast, Microsoft maintains a SDK for developing REST api's using C++, aptly named the C++ REST SDK. Here you can find the Github page. It pretty much covers everything you'd come to expect from a modern webserver package. It does come with a steep learning curve however.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
It is not guaranteed that the memory layout will be the same but the assumption is often made anyway. From what I recall, this is how the widely used GLM math library iterates over the members of vectors and matrices.
-
DirectXTK
The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++
Project mention: Chrono Cross: The Radical Dreamers Edition - How to play with the new graphics BUT with the old fonts | reddit.com/r/JRPG | 2022-04-10Thank you for your reply, I make spritefont from this link https://github.com/microsoft/DirectXTK/wiki/SpriteFont but still cannot show the right font Maybe have to check parameter of old font
-
Project mention: oof: real-time, full-color console output for C++ | reddit.com/r/programming | 2021-11-22
I sampled ten arbitrary projects from https://github.com/p-ranav/awesome-hpp, and not one of them used this pattern. Maybe it's more common in some circles than others?
-
Project mention: Bloomberg finally opensourced memray —a new versatile memory profile for Python | reddit.com/r/programming | 2022-04-21
I'm pretty sure they use C++ very extensively. They have their own C++ standard library for example. I'm not aware of them using FORTRAN or C. Do you have a reference for that?
-
However I've found that MS TexConv from the DirectXTex package is the best way for loosing less quality, so I save my textures as lossless PNGs and use TexConv with my own wrapper then.
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
-
DirectXMath
DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
Project mention: Eigen: A C++ template library for linear algebra | news.ycombinator.com | 2022-04-04I never really used GLM, but Eigen was substantially slower than DirectXMath https://github.com/microsoft/DirectXMath for these things. Despite the name, 99% of that library is OS agnostic, only a few small pieces (like projection matrix formula) are specific to Direct3D. When enabled with corresponding macros, inline functions from that library normally compile into pretty efficient manually vectorized SSE, AVX or NEON code.
The only major issue, DirectXMath doesn’t support FP64 precision.
-
lithium
Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium
Lithium
-
DirectXTK12
The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
For example: https://github.com/microsoft/DirectXTK12
-
fast_float
Fast and exact implementation of the C++ from_chars functions for float and double types: 4x faster than strtod
I'm a bit stuck on how to do the same thing in c++, due to containers only having a single type. The very inefficient way I'm currently doing it is by passing a program as a vector of strings, and then converting the string constants to doubles with the fast_float library.
-
Q
-
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
-
Project mention: Is it possible to have conan patch a dependency? | reddit.com/r/cpp_questions | 2022-03-28
Go to the Conan center recipe repo and file an issue saying the package is broken and needs fixing and wait for someone to fix it.
-
Project mention: Automatic Serialization in C++ for Game Engines | IndieGameDev | reddit.com/r/cpp | 2022-03-29
Interesting read. I’ve personally used libnop in a few of my personal projects and I’ve liked it quite well.
-
PicoSHA2 ➜ repository
-
-
Project mention: Inputting variable value's from C++ to Excel | reddit.com/r/cpp_questions | 2021-07-28
Csv files does not contain formatting so you need to make a proper excel file, which is a whole other beast. Take a look at https://github.com/amiremohamadi/DuckX
-
You can use Scapix Language Bridge to automatically generate bindings for various languages directly from C++ headers:
https://github.com/scapix-com/scapix
Disclaimer: I am the author of Scapix Language Bridge.
-
borealis
Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)
-
ozo
OZO is a C++17 Boost.Asio based header-only library for asyncronous communication with PostgreSQL DBMS.
A similar library for the far superior database engine postgresql is here https://github.com/yandex/ozo
cpp-library related posts
- Acceptance Review for Boost.MySQL has just started
- Have there been any attempts to build a REST API service on top of either Boost.asio or Boost.beast?
- Bloomberg finally opensourced memray —a new versatile memory profile for Python
- editing textures
- Chrono Cross: The Radical Dreamers Edition - How to play with the new graphics BUT with the old fonts
- metal cpp is here! You can use it with cmake
- Automatic Serialization in C++ for Game Engines | IndieGameDev
Index
What are some of the best open-source cpp-library projects? This list will help you:
Project | Stars | |
---|---|---|
1 | awesome-cpp | 37,353 |
2 | C++ REST SDK | 6,862 |
3 | GLM | 6,325 |
4 | DirectXTK | 2,035 |
5 | awesome-hpp | 1,840 |
6 | BDE | 1,374 |
7 | DirectXTex | 1,301 |
8 | rang | 1,233 |
9 | DirectXMath | 1,109 |
10 | lithium | 1,004 |
11 | DirectXTK12 | 988 |
12 | fast_float | 831 |
13 | QuickQanava | 778 |
14 | q | 722 |
15 | libtcod | 660 |
16 | conan-center-index | 575 |
17 | libnop | 503 |
18 | PicoSHA2 | 492 |
19 | vuh | 301 |
20 | DuckX | 263 |
21 | scapix | 241 |
22 | borealis | 183 |
23 | ozo | 165 |
Are you hiring? Post a new remote job listing for free.