C++ Library

Open-source C++ projects categorized as Library

Top 23 C++ Library Projects

  • GitHub repo Apache Thrift

    Apache Thrift

    Project mention: proposal: expression to create pointer to simple types #45624 | reddit.com/r/golang | 2021-04-18
  • GitHub repo librealsense

    Intel® RealSense™ SDK

    Project mention: hey guys can anyone help build pyrealsense2 from source on windows? | reddit.com/r/realsense | 2021-06-10

    Have you tried via https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_windows.md?

  • GitHub repo td

    Cross-platform library for building Telegram clients

    Project mention: New Location Sharing Feature? setLocation Method in tdlib | reddit.com/r/Telegram | 2021-04-19

    I have found the commit that added the method and the comment in the Changelog Changes in 1.7.0 (28 Nov 2020)

  • GitHub repo libtorrent

    an efficient feature complete C++ bittorrent implementation

    Project mention: What about BTT cryptocoin? | reddit.com/r/qBittorrent | 2021-05-06
  • GitHub repo CGal

    The public CGAL repository, see the README below

    Project mention: New to photogrammetry, getting started? | reddit.com/r/photogrammetry | 2021-04-12

    git clone https://github.com/CGAL/cgal.git

  • GitHub repo tracy

    C++ frame profiler

    Project mention: Do games render the graphics on every frame? Like IMGUI? What is the difference? | reddit.com/r/learnprogramming | 2021-05-28

    ImGui is very very fast, because the CPU side is fairly simple (creating a widget is just adding a bunch of vertices to a list) and the GPU side runs on the GPU which is an absolute monster for this kind of thing. Typically I observed less than a millisecond spend on ImGui on the CPU and something like 250us for the GPU, even for fairly complex UIs

  • GitHub repo harfbuzz

    HarfBuzz text shaping engine

    Project mention: Software rendering vector graphic fonts? | reddit.com/r/GraphicsProgramming | 2021-04-22
  • GitHub repo indicators

    Activity Indicators for Modern C++

    Project mention: It there a library for creating a progress bar? | reddit.com/r/cpp_questions | 2021-03-31

    Maybe this one: https://github.com/p-ranav/indicators

  • GitHub repo FunctionalPlus

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

    Project mention: Why C++ for everything? | reddit.com/r/ROS | 2021-04-28

    As idiomatic, I will try to adopt as much as possible purely functional programming in C++ by using https://github.com/Dobiasd/FunctionalPlus . Do you have by any chance any alternative suggestion?

  • GitHub repo plog

    Portable, simple and extensible C++ logging library

  • GitHub repo etl

    Embedded Template Library

    Project mention: What's needed to bring C++20 to the embedded world? | reddit.com/r/embedded | 2021-05-01

    Well, there is no need to reinvent the wheel ETL

  • GitHub repo Adafruit_Sensor

    Common sensor library

    Project mention: The code I attached below is working for esp32 but not working onesp8266 | reddit.com/r/arduino | 2021-05-05

    #include //DHT and Adafruit Sensor library(https://github.com/adafruit/Adafruit_Sensor)

  • 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: cpprestsdk in maintenance mode | reddit.com/r/cpp | 2021-06-08

    If you need an embedded C++ HTTP server then there are plenty of libraries/frameworks (in random order): Crow, RESTinio, Boost.Beast, cpp-httplib, http_backend, Pistache, RestBed, served, proxygen, Simple-Web-Server, drogon, oat++.

  • 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 sleepy-discord

    C++ library for the Discord chat client

    Project mention: Thinking which programming language to choose for my bot. I want it to run fast but I'm not sure if there's any difference in performance between Python and C++ | reddit.com/r/discordbots | 2021-05-04

    i recently saw something called "Sleepy Discord" which is a c++ library https://github.com/yourWaifu/sleepy-discord so its possible for bots to be made with c++

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

  • GitHub repo lager

    C++ library for value-oriented design using the unidirectional data-flow architecture — Redux for C++ (by arximboldi)

  • GitHub repo structopt

    Parse command line arguments by defining a struct (by p-ranav)

    Project mention: cmdlime - possibly the least verbose command line parsing library for C++17 | reddit.com/r/cpp | 2021-05-20

    Hello everyone! I'm not a reddit user, but my previously open-sourced projects have been only seen by one of my coworkers and I can't even find them on google, so I'm trying to get some visibility) It's just a command line parser, but it uses the idea of declaring the structure which acts as the data scheme for the parser and result storage simultaneously, which I think is the best possible approach for the problem. I was excited when I discovered it with the structopt library, but I had too many gripes with its interface (required duplication of your structure content in the macro, everything besides positional arguments has to be wrapped in std::optional, inability to set parameters' description to the help message, etc), so I've built an alternative that doesn't tick me off. At least so far) I hope someone finds it interesting.

  • GitHub repo FINAL CUT

    A text-based widget toolkit

    Project mention: Lesser Known Terminal Editors | news.ycombinator.com | 2021-06-12

    finalcut (modern C++ library for TUI with good support for mouse) uses block characters in TUI.

    [0]: https://github.com/gansm/finalcut

  • GitHub repo cppfs

    Cross-platform C++ file system library supporting multiple backends

    Project mention: Cppfs – Cross-platform C++ file system library supporting multiple back ends | news.ycombinator.com | 2021-03-19
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-06-12.


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

Project Stars
1 Apache Thrift 8,429
2 librealsense 5,138
3 td 3,626
4 libtorrent 3,251
5 CGal 2,531
6 tracy 2,371
7 harfbuzz 1,983
8 indicators 1,599
9 FunctionalPlus 1,374
10 plog 1,143
11 etl 849
12 Adafruit_Sensor 773
13 frugally-deep 747
14 RESTinio 739
15 glbinding 685
16 TaskScheduler 652
17 sleepy-discord 518
18 DynaMix 508
19 units 411
20 lager 404
21 structopt 345
22 FINAL CUT 319
23 cppfs 300