C++ Library

Open-source C++ projects categorized as Library

Top 23 C++ Library Projects

  • GitHub repo Apache Thrift

    Apache Thrift

    Project mention: Can you share your experience with race conditions in production? | reddit.com/r/java | 2021-01-25

    We were sharing instances of a Thrift TDeserializer across threads. We knew TProtocol was not thread-safe, but the TDeserializer constructor accepts a TProtocolFactory, so we naively assumed the deserialize method would use that to create a new instance of TProtocol for each invocation, but unfortunately, the TDeserializer constructor immediately creates TProtocol and stores it in a member variable, so TDeserializer is not actually thread-safe.

  • GitHub repo librealsense

    Intel® RealSense™ SDK

    Project mention: Does anyone else kind of miss the Xbox Kinect? | reddit.com/r/truegaming | 2021-02-15

    The camera side still lives on as a professional product: Intel RealSense

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo td

    Cross-platform library for building Telegram clients

    Project mention: change telegram bot picture via API? | reddit.com/r/TelegramBots | 2021-02-19

    You can try to use TDLib to talk with `@BotFather` on behalf of yourself, but that will require extensive coding.

  • GitHub repo libtorrent

    an efficient feature complete C++ bittorrent implementation

    Project mention: AMD admits there are problems with USB devices on 500-series motherboards | reddit.com/r/hardware | 2021-02-20

    It's probably related to this issue: https://github.com/arvidn/libtorrent/issues/5761#issuecomment-752183077

  • GitHub repo CGal

    The public CGAL repository, see the README below

  • GitHub repo tracy

    C++ frame profiler

    Project mention: Introducing the Firestorm profiler | reddit.com/r/rust | 2021-02-16

    On Windows you can of course use [VTune]([https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/vtune-profiler.html] (free as in a beer, Intel-only) or Tracy (free) or any other C/C++ profiler.

  • GitHub repo harfbuzz

    HarfBuzz text shaping engine

    Project 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

  • GitHub repo indicators

    Activity Indicators for Modern C++

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

  • GitHub repo FunctionalPlus

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

    Project mention: Integrating sanitizers into your CI workflow | reddit.com/r/cpp | 2021-02-18

    Another option is to use a superbuild CML where you can do all the nasty, platform specific things. Example of a superbuild CML.

  • GitHub repo plog

    Portable, simple and extensible C++ logging library

  • GitHub repo etl

    Embedded Template Library

  • GitHub repo frugally-deep

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

  • GitHub repo RESTinio

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

    Project mention: Suggested libraries for building a REST service in C++? | reddit.com/r/cpp | 2021-01-25

    This comes up a lot. Checkout https://github.com/Stiffstream/restinio

  • GitHub repo glbinding

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

  • GitHub repo TaskScheduler

    Cooperative multitasking for Arduino, ESPx and STM32 microcontrollers

    Project mention: Understanding the rarely seen EVERY_N_MILLIS_I ? | reddit.com/r/FastLED | 2021-01-25

    Or just use TaskScheduler and never have to worry about this again. https://github.com/arkhipenko/TaskScheduler

  • GitHub repo DynaMix

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

  • GitHub repo units

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

    Project mention: How to best organize by library in term of type names and namespaces? | reddit.com/r/cpp_questions | 2021-02-08
  • GitHub repo Rapidcsv

    C++ CSV parser library

  • GitHub repo FINAL CUT

    A text-based widget toolkit

  • GitHub repo stduuid

    A C++17 cross-platform implementation for UUIDs

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

    stduuid [link]

  • GitHub repo MD_MAX72XX

    LED Matrix Library

    Project mention: 8266 w/ MAX7212 Bitcoin Ticker Help | reddit.com/r/esp8266 | 2021-02-21

    Google isn't returning anything useful for "7912 display"... did you mean MAX7219? That repo you linked should be able to drive it, as it's using https://github.com/MajicDesigns/MD_MAX72XX

  • GitHub repo rawspeed

    fast raw decoding library

    Project mention: Darktable 3.4 has been released! | reddit.com/r/photography | 2020-12-24
  • GitHub repo libgrape-lite

    🍇 A C++ library for parallel graph processing 🍇

    Project mention: GraphScope: A One-Stop Large-Scale Graph Computing System | news.ycombinator.com | 2021-02-02

    We don't have a benchmark between the analytical engine in GraphScope (aka. GAE) with GraphX/Giraph. But we do have evaluated the performance of the underlying engine of GAE (libgrape-lite) with LDBC Graph Analytics Benchmark and it achieves higher performance comparably to the state-of-the-art systems [2].

    [1]: https://github.com/alibaba/libgrape-lite

    [2]: https://github.com/alibaba/libgrape-lite/blob/master/Perform...

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 2021-02-21.


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

Project Stars
1 Apache Thrift 8,117
2 librealsense 4,812
3 td 3,351
4 libtorrent 3,065
5 CGal 2,351
6 tracy 1,942
7 harfbuzz 1,815
8 indicators 1,410
9 FunctionalPlus 1,252
10 plog 1,043
11 etl 768
12 frugally-deep 705
13 RESTinio 681
14 glbinding 669
15 TaskScheduler 592
16 DynaMix 502
17 units 353
18 Rapidcsv 247
19 FINAL CUT 238
20 stduuid 211
21 MD_MAX72XX 180
22 rawspeed 175
23 libgrape-lite 168