C++ Library

Open-source C++ projects categorized as Library

Top 23 C++ Library Projects

  • thrift

    Apache Thrift

  • librealsense

    Intel® RealSense™ SDK

    Latest mention: Realsense D435 Point Cloud | reddit.com/r/realsense | 2021-01-14

    github.com/IntelRealSense/librealsense/issues make sure to search the closed tickets too

  • td

    Cross-platform library for building Telegram clients

    Latest mention: Here’s why you should leave WhatsApp for Signal, not Telegram | reddit.com/r/whatsapp | 2021-01-14

    Database Library

  • libtorrent

    an efficient feature complete C++ bittorrent implementation

    Latest mention: code-server for libtorrent 2.0 | dev.to | 2020-12-25

    Libtorrent is version 2.0 rc now!! It Great!! https://github.com/arvidn/libtorrent

  • cgal

    The public CGAL repository, see the README below

  • harfbuzz

    HarfBuzz text shaping engine

    Latest mention: Bug: Kerning broken. - Dev: You can try to get used to the "blurry" rendering. Or you can find something else to use, or whatever. You are using Free Software you realize, right? | reddit.com/r/programmingcirclejerk | 2021-01-12

    Quality off-topic jerk down below

  • indicators

    Activity Indicators for Modern C++

    Latest mention: A Simple library for progress bars in C++ | reddit.com/r/cpp | 2021-01-13

    p-ranav/indicators offers a very rich api but this is definitely simpler to use.

  • FunctionalPlus

    Functional Programming Library for C++. Write concise and readable C++ code.

    Latest mention: Best practice unit tests + examples with cmake | reddit.com/r/cpp | 2021-01-17

    You can copy this project structure: https://github.com/Dobiasd/FunctionalPlus

  • plog

    Portable, simple and extensible C++ logging library

  • etl

    Embedded Template Library

  • frugally-deep

    Header-only library for using Keras models in C++.

  • restinio

    Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library with the right balance between performance and ease of use

  • glbinding

    A C++ binding for the OpenGL API, generated using the gl.xml specification.

  • TaskScheduler

    Cooperative multitasking for Arduino, ESPx and STM32 microcontrollers

    Latest mention: Event-driven architecture | reddit.com/r/embedded | 2021-01-12

    For reference, I'm a big fan of this scheduler in particular, due to it's simplicity, OO support and a neat extra of sleeping each unused millisecond (low power for free).

  • dynamix

    :fish_cake: A new take on polymorphism in C++

  • units

    A compile-time enabled Modern C++ library that provides compile-time dimensional analysis and unit/quantity manipulation.

    Latest mention: Measurements should always have units | reddit.com/r/coding | 2020-12-24

    Mateusz Pusz has a proposal to add something similar to the C++ standard. His reference implementation also fixes one of the minor annoyances of Boost.Units, which is crazy long compiler error messages when you mismatch units. I hope his proposal makes it into C++23.

  • finalcut

    A text-based widget toolkit

  • stduuid

    A C++17 cross-platform implementation for UUIDs

    Latest mention: Nyx: 3rd party libraries | dev.to | 2021-01-13

    stduuid [link]

  • rawspeed

    fast raw decoding library

    Latest mention: Darktable 3.4 has been released! | reddit.com/r/photography | 2020-12-24
  • RaZ

    Modern & multiplatform game engine in C++17

  • kiwix-tools

    Command line Kiwix tools: kiwix-serve, kiwix-manage, ...

    Latest mention: The full English Wikipedia on Kiwix now weighs 79Gb instead of 94Gb thanks to improvements in image compression | reddit.com/r/DataHoarder | 2020-12-21

    Yes and it's called kiwix-serve! you can find it here: https://github.com/kiwix/kiwix-tools

  • libriscv

    C++17 RISC-V RV32GC / RV64GC userspace emulator library

    Latest mention: Ask HN: What Are You Working On? | news.ycombinator.com | 2021-01-14

    I am working on ultra-low latency emulation. I have a RISC-V emulator (https://github.com/fwsGonzo/libriscv) that I am creating to fork really fast.


    Those measurements is from a production environment, meaning these numbers are very real! In a synthetic benchmark the fork happens at just ~200 nanoseconds, and it's really a meaningless number.

  • maddy

    C++ Markdown to HTML header-only parser library

    Latest mention: What are you favorite cross platform (Win, Mac, Linux) librarys for C++ so you can writing 1 run on all | reddit.com/r/cpp | 2020-12-28

    - Qt or boost if there is no UI. - json: https://github.com/nlohmann/json - iostream alternative: https://github.com/fmtlib/fmt - Markdown to HTML: https://github.com/progsource/maddy

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


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

Project Stars
1 thrift 8,017
2 librealsense 4,703
3 td 3,254
4 libtorrent 3,009
5 cgal 2,295
6 harfbuzz 1,781
7 indicators 1,364
8 FunctionalPlus 1,221
9 plog 1,011
10 etl 739
11 frugally-deep 698
12 restinio 670
13 glbinding 661
14 TaskScheduler 570
15 dynamix 500
16 units 339
17 finalcut 232
18 stduuid 195
19 rawspeed 170
20 RaZ 160
21 kiwix-tools 131
22 libriscv 123
23 maddy 76