C++ cpp-library

Open-source C++ projects categorized as cpp-library

Top 23 C++ cpp-library Projects

  • 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: C++ REST API Framework | reddit.com/r/cpp_questions | 2022-11-26
  • GLM

    OpenGL Mathematics (GLM)

    Project mention: PocketPy: A Lightweight(~5000 LOC) Python Implementation in C++17 | reddit.com/r/cpp | 2023-02-06
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • DirectXTK

    The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30

    DirectXTK 12 (includes SimpleMath and other goodies)

  • DirectXTex

    DirectXTex texture processing library

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30


  • BDE

    Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.

    Project mention: Announcing YOMM2 version 1.3.1 | reddit.com/r/cpp | 2023-02-02

    It would be easy to make the runtime use polymorphic allocators, one for the temporary objects created by update_methods, and another for the hash and dispatch tables. The first allocator could use the stack (like this), and the second a block in the BSS segment.

  • rang

    A Minimal, Header only Modern c++ library for terminal goodies 💄✨

  • DirectXMath

    DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30

    Alongside MiniEngine, you’ll want to look into the DirectX Toolkit. This is a set of utilities by Microsoft that simplify graphics and game development. It contains libraries like DirectXMesh for parsing and optimizing meshes for DX12, or DirectXMath which handles 3D math operations like the OpenGL library glm. It also has utilities for gamepad input or sprite fonts. You can see a list of the headers here to get an idea of the features. You’ll definitely want to include this in your project if you don’t want to think about a lot of these solved problems (and don’t have to worry about cross-platform support).

  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • DirectXTK12

    The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30

    DirectXTK 12 (includes SimpleMath and other goodies)

  • lithium

    Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium

  • fast_float

    Fast and exact implementation of the C++ from_chars functions for float and double types: 4x faster than strtod, part of GCC 12

  • QuickQanava

    :link: C++14 network/graph visualization library / Qt node editor.

    Project mention: There is framework for everything. | reddit.com/r/ProgrammerHumor | 2022-08-04
  • q

    C++ Library for Audio Digital Signal Processing (by cycfi)

  • eve

    Expressive Vector Engine - SIMD in C++ Goes Brrrr (by jfalcou)

    Project mention: Library that could generate vectorized code for different instruction sets? | reddit.com/r/cpp | 2023-01-14

    Here is a doc on how we suggest to do it: https://jfalcou.github.io/eve/multiarch.html Here is complete code of that example: https://github.com/jfalcou/eve/tree/main/examples/multi-arch

  • PicoSHA2

    a header-file-only, SHA256 hash generator in C++

    Project mention: Is there a single header sha1 library for C++? | reddit.com/r/cpp_questions | 2022-11-02
  • libnop

    libnop: C++ Native Object Protocols

    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.

  • PhotonLibOS

    Write fast and agile C++ programs with Photon!

    Project mention: 200 lines of code to rewrite the 600'000 lines RocksDB into a coroutine programx | reddit.com/r/cpp | 2022-12-05

    Finally, the PhotonLibOS project is open sourced at https://github.com/alibaba/PhotonLibOS. If you are interested in C++ coroutines and high-performance IO, welcome to have a try.

  • matchit.cpp

    match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.

    Project mention: The pattern matching library match(it) gets its first stable release. | reddit.com/r/cpp | 2022-08-30

    FYI. Now we've supported Id and Id to return lvalue ref and rvalue ref in addition to the original Id returning const lvalue ref, making the solution much more elegant now. Refer to the complete sample at https://github.com/BowenFu/matchit.cpp/blob/main/sample/mutation.cpp.

  • blitz

    Blitz++ Multi-Dimensional Array Library for C++ (by blitzpp)

    Project mention: Question about the return type of inherited member functions. | reddit.com/r/cpp_questions | 2022-03-18

    Some examples are Matrix Template Library, Blitz++, Expression Template Library, the popular Eigen and the industry standard Armadillo.

  • vuh

    Vulkan compute for people

    Project mention: GLSL shaders for OpenCL | reddit.com/r/gpgpu | 2022-11-24

    The only one that is relatively lightweight (and doesn't have dependencies) is vuh (https://github.com/Glavnokoman/vuh) that looks unsupported.

  • DuckX

    C++ library for creating and modifying Microsoft Word (.docx) files

  • stlkrn

    C++ STL in the Windows Kernel with C++ Exception Support

    Project mention: ntoskrnl7/crtsys: C/C++ Runtime library for system file (Windows Kernel Driver) | reddit.com/r/cpp | 2022-06-30

    Thanks for mentioning https://github.com/jxy-s/stlkrn. It does look better than the OP's library from first inspection. I note it changes default allocators to ones which use pools.

  • scapix

    Scapix Language Bridge

    Project mention: Best way to consume CMake based C lib in Swift for iOs/desktop | reddit.com/r/swift | 2022-06-07

    You can use Scapix Language Bridge to call C++ code from Swift. It is using CMake integration.

  • borealis

    Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-06.

C++ cpp-library related posts


What are some of the best open-source cpp-library projects in C++? This list will help you:

Project Stars
1 C++ REST SDK 7,189
2 GLM 7,152
3 DirectXTK 2,214
4 DirectXTex 1,455
5 BDE 1,449
6 rang 1,323
7 DirectXMath 1,242
8 DirectXTK12 1,136
9 lithium 1,091
10 fast_float 990
11 QuickQanava 896
12 q 869
13 eve 558
14 PicoSHA2 537
15 libnop 512
16 PhotonLibOS 510
17 matchit.cpp 434
18 blitz 345
19 vuh 324
20 DuckX 308
21 stlkrn 280
22 scapix 275
23 borealis 210
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives