C++ Library

Open-source C++ projects categorized as Library | Edit details

Top 23 C++ Library Projects

  • GitHub repo Apache Thrift

    Apache Thrift

    Project mention: Ask HN: Who Wants to Collaborate? | news.ycombinator.com | 2022-01-01
  • GitHub repo librealsense

    Intel® RealSense™ SDK

    Project mention: Is Google Search Deteriorating? Measuring Google's Search Quality in 2022 | news.ycombinator.com | 2022-01-11

    I have an Intel Realsense camera, which sometimes reports the error "Failed to recconect" (there being a typo in the drivers) [1] - that's a pretty unique error, so in combination with the product name that should be a very easy keyword search, right?

    But no, when I search for realsense "failed to recconect" Google returns pages that contain neither realsense nor recconect [2]. They offer me a supreme court opinion, a review of a car dealership, and a facebook church service.

    Correcting the spelling of a query is one thing - but also completely ignoring other keywords? I can see why there are so many people posting about the poor quality of Google's search results.

    [1] https://github.com/IntelRealSense/librealsense/blob/5ff27fca...

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo td

    Cross-platform library for building Telegram clients

    Project mention: telega.el - GNU Emacs telegram client | reddit.com/r/emacs | 2022-01-18

    The problem there is mostly with how they're doing releases for tdlib: They create proper releases for major versions (like 1.7.0, 1.8.0), and then nothing for all for point releases (like 1.7.1), not even git tags - they're seeing those releases as development releases. They do a lot of (breaking) changes and new features between releases - so while distributions might want to stick with proper releases others might want to follow git (and the author is following git with his development branch).

  • GitHub repo cpr

    C++ Requests: Curl for People, a spiritual port of Python Requests.

    Project mention: HTTP libraries | reddit.com/r/cpp_questions | 2021-11-26

    It's got several C++ wrappers if you prefer those, my favourite is C++ requests

  • GitHub repo libtorrent

    an efficient feature complete C++ bittorrent implementation

    Project mention: Fast Bittorrent I/O (language ambiguous) | reddit.com/r/AskProgramming | 2021-12-26

    Looking at the code of libtorrent, used internally by most BitTorrent clients, it seems to use either mmap (when available) or ordinary blocking file I/O otherwise -- and there's a thread pool for I/O operations so that more than one can be happening at once. The size of the files isn't actually a problem for memory mapping unless you're using 32 bit pointers, which limits your address space.

  • GitHub repo Arduino-IRremote

    Infrared remote library for Arduino: send and receive infrared signals with multiple protocols

    Project mention: Controlling a fan by reverse engineering its IR remote: need advices | reddit.com/r/AskElectronics | 2021-11-02

    I was planning to buy an emitter/receiver and use the ESP SDK or this Arduino library to reproduce the same command. From what you are saying, it will be more complicated than that, right?

  • GitHub repo tracy

    C++ frame profiler

    Project mention: Can i build great software that not games related with dear imgui and glfw(opengl)? | reddit.com/r/AskProgramming | 2022-01-02

    tracy (https://github.com/wolfpld/tracy), a profiler for cpp & co. uses imgui. Its possible but I think people who rely on screenreaders will not be able to use it.

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

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

    oneAPI Deep Neural Network Library (oneDNN)

    Project mention: Intel oneDNN 2.5 released with experimental RISC-V support | reddit.com/r/RISCV | 2021-12-09

    From the release note of oneDNN v2.5:

  • GitHub repo harfbuzz

    HarfBuzz text shaping engine

    Project mention: Any good video tutorials on making a OS with a GUI? | reddit.com/r/osdev | 2021-12-10

    Then there is the entire internationalization problem for which you have to implement most of the Unicode standard, the reports can be found here: http://unicode.org/reports/ and in general you will need the bidirectional algorithm for Hewbrew/Arabic texts, normalization, the line breaking algorithm, the script property and probably text segmentation. On top, you will also need to deal with text shaping (e.g. https://github.com/harfbuzz/harfbuzz). For instance é should be rendered as é and not as e' (even though the grapheme may consist of two code points, there is also a version that is a single code point).

  • GitHub repo rttr

    C++ Reflection Library

    Project mention: Introduce my in-house game engine | reddit.com/r/gamedev | 2022-01-08

    I think this library is really nice. Because it doesn't require bothersome macros like this library https://github.com/rttrorg/rttr.

  • GitHub repo indicators

    Activity Indicators for Modern C++

    Project mention: Libraries | reddit.com/r/cpp_questions | 2021-12-07

    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 c-ares

    A C library for asynchronous DNS requests

    Project mention: Help in creating a DNS request to query a IP address | reddit.com/r/cpp_questions | 2021-09-03
  • GitHub repo fann

    Official github repository for Fast Artificial Neural Network Library (FANN)

    Project mention: iNeural : Update (8.12.21) | dev.to | 2021-12-08

    It is developed by taking inspiration from libraries such as iNeural, FANN, pylearn2, EBLearn, Torch7. Written mostly in C++, iNeural also leverages the power of Python. The biggest reason for its development is that it needs very few dependencies. For this reason, it is expected to be suitable for working in systems with limited system requirements.

  • GitHub repo plog

    Portable, simple and extensible C++ logging library

  • GitHub repo tabulate

    Table Maker for Modern C++ (by p-ranav)

    Project mention: Libraries | reddit.com/r/cpp_questions | 2021-12-07

    tabulate

  • GitHub repo etl

    Embedded Template Library

    Project mention: Which C++ concepts you use in embedded world? | reddit.com/r/cpp | 2022-01-16
  • GitHub repo casadi

    CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave.

    Project mention: Are there any optimization libraries/packages that use automatic differentiation? | reddit.com/r/optimization | 2021-11-04

    JuMP.jl (Julia) or casADi (Python) are good choices.

  • GitHub repo frugally-deep

    Header-only library for using Keras (TensorFlow) 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: Modern C++ Web API (Back-End Development) | reddit.com/r/cpp | 2021-11-15
  • GitHub repo Adafruit_Sensor

    Common sensor library

    Project mention: A confusing issue with NodeMCU | reddit.com/r/arduino | 2021-11-25

    // Example testing sketch for various DHT humidity/temperature sensors // Written by ladyada, public domain // REQUIRES the following Arduino libraries: // - DHT Sensor Library: https://github.com/adafruit/DHT-sensor-library // - Adafruit Unified Sensor Lib: https://github.com/adafruit/Adafruit_Sensor #include "DHT.h" #define DHTPIN 4 // Digital pin connected to the DHT sensor // Feather HUZZAH ESP8266 note: use pins 3, 4, 5, 12, 13 or 14 -- // Pin 15 can work but DHT must be disconnected during program upload. // Uncomment whatever type you're using! #define DHTTYPE DHT11 // DHT 11 //#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321 //#define DHTTYPE DHT21 // DHT 21 (AM2301) // Connect pin 1 (on the left) of the sensor to +5V // NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1 // to 3.3V instead of 5V! // Connect pin 2 of the sensor to whatever your DHTPIN is // Connect pin 3 (on the right) of the sensor to GROUND (if your sensor has 3 pins) // Connect pin 4 (on the right) of the sensor to GROUND and leave the pin 3 EMPTY (if your sensor has 4 pins) // Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor // Initialize DHT sensor. // Note that older versions of this library took an optional third parameter to // tweak the timings for faster processors. This parameter is no longer needed // as the current DHT reading algorithm adjusts itself to work on faster procs. DHT dht(DHTPIN, DHTTYPE); void setup() { delay(2000); Serial.begin(115200); delay(2000); Serial.println(F("DHTxx test!")); dht.begin(); } void loop() { // Wait a few seconds between measurements. delay(2000); // Reading temperature or humidity takes about 250 milliseconds! // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor) float h = dht.readHumidity(); // Read temperature as Celsius (the default) float t = dht.readTemperature(); // Read temperature as Fahrenheit (isFahrenheit = true) float f = dht.readTemperature(true); // Check if any reads failed and exit early (to try again). if (isnan(h) || isnan(t) || isnan(f)) { Serial.println(F("Failed to read from DHT sensor!")); return; } // Compute heat index in Fahrenheit (the default) float hif = dht.computeHeatIndex(f, h); // Compute heat index in Celsius (isFahreheit = false) float hic = dht.computeHeatIndex(t, h, false); Serial.print(F("Humidity: ")); Serial.print(h); Serial.print(F("% Temperature: ")); Serial.print(t); Serial.print(F("°C ")); Serial.print(f); Serial.print(F("°F Heat index: ")); Serial.print(hic); Serial.print(F("°C ")); Serial.print(hif); Serial.println(F("°F")); }

  • GitHub repo TaskScheduler

    Cooperative multitasking for Arduino, ESPx, STM32, nRF and other 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

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-01-18.

C++ Library related posts

Index

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

Project Stars
1 Apache Thrift 8,865
2 librealsense 5,698
3 td 4,343
4 cpr 4,274
5 libtorrent 3,608
6 Arduino-IRremote 3,459
7 tracy 3,252
8 CGal 2,900
9 oneDNN 2,646
10 harfbuzz 2,252
11 rttr 2,063
12 indicators 1,890
13 FunctionalPlus 1,564
14 c-ares 1,364
15 fann 1,323
16 plog 1,277
17 tabulate 1,121
18 etl 1,060
19 casadi 893
20 frugally-deep 822
21 RESTinio 817
22 Adafruit_Sensor 803
23 TaskScheduler 751
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms