Open-source projects categorized as cpp-library | Edit details
Language filter: + C++ + C + Python

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-14

    Here'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-23

    While 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.

  • GLM

    OpenGL Mathematics (GLM)

    Project mention: Memory layout of struct vs array | reddit.com/r/cpp | 2022-05-07

    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-10

    Thank 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

  • awesome-hpp

    A curated list of awesome header-only C++ libraries

    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?

  • BDE

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

    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?

  • DirectXTex

    DirectXTex texture processing library

    Project mention: editing textures | reddit.com/r/skyrimmods | 2022-04-18

    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.

  • rang

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

    Project mention: rang VS FINAL CUT - a user suggested alternative | libhunt.com/r/rang | 2021-12-31
  • 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-04

    I 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

    Project mention: C or C++ as web app backend? | reddit.com/r/cpp | 2021-10-27


  • DirectXTK12

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

    Project mention: How do I create a terrain with DirectX 8? | reddit.com/r/gamedev | 2022-01-30

    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

    Project mention: Passing Programs To A Stack Machine | reddit.com/r/cpp_questions | 2021-11-11

    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.

  • QuickQanava

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

    Project mention: How can i make something like that in Qt5 ? (drag-drop and connect each other) | reddit.com/r/QtFramework | 2021-12-11
  • q

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

    Project mention: DSP chip recommendations? | reddit.com/r/diypedals | 2021-12-23


  • libtcod

    The official repository for libtcod. A roguelike development library.

    Project mention: Sharing Saturday #413 | reddit.com/r/roguelikedev | 2022-05-06

    libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template

  • conan-center-index

    Recipes for the ConanCenter repository

    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.

  • 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.

  • PicoSHA2

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

    Project mention: How I Create - Github Token Manager | dev.to | 2022-03-10

    PicoSHA2 ➜ repository

  • vuh

    Vulkan compute for people

    Project mention: Resources for Vulkan GPGPU searched | reddit.com/r/vulkan | 2022-01-12
  • DuckX

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

    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

  • scapix

    Scapix Language Bridge

    Project mention: Swift Regrets | news.ycombinator.com | 2021-09-22

    You can use Scapix Language Bridge to automatically generate bindings for various languages directly from C++ headers:


    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.

    Project mention: Acceptance Review for Boost.MySQL has just started | reddit.com/r/cpp | 2022-05-11

    A similar library for the far superior database engine postgresql is here https://github.com/yandex/ozo

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 2022-05-14.

cpp-library related posts


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
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives