C++ Library

Open-source C++ projects categorized as Library

Top 23 C++ Library Projects

  • imgui

    Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

  • Project mention: Using raylib with Dear ImGui: Game Dev Debugging UI | dev.to | 2024-04-06

    include(cmake/CPM.cmake) function(raylib_imgui_setup_dependencies) message(STATUS "Include Dear ImGui") FetchContent_Declare( ImGui GIT_REPOSITORY https://github.com/ocornut/imgui GIT_TAG 277ae93c41314ba5f4c7444f37c4319cdf07e8cf) # v1.90.4 FetchContent_MakeAvailable(ImGui) FetchContent_GetProperties(ImGui SOURCE_DIR IMGUI_DIR) add_library( imgui STATIC ${imgui_SOURCE_DIR}/imgui.cpp ${imgui_SOURCE_DIR}/imgui_draw.cpp ${imgui_SOURCE_DIR}/imgui_widgets.cpp ${imgui_SOURCE_DIR}/imgui_tables.cpp) target_include_directories(imgui INTERFACE ${imgui_SOURCE_DIR}) include(cmake/CPM.cmake) message(STATUS "Include dbg-macro") cpmaddpackage( "gh:sharkdp/dbg-macro#fb9976f410f8b29105818b20278cd0be0e853fe8" )# v0.5.1 message(STATUS "Include fmtlib") cpmaddpackage("gh:fmtlib/fmt#e69e5f977d458f2650bb346dadf2ad30c5320281" )# 10.x message(STATUS "Include raylib") cpmaddpackage("gh:raysan5/raylib#ae50bfa2cc569c0f8d5bc4315d39db64005b1b0" )# v5.0 message(STATUS "Include spdlog") cpmaddpackage("gh:gabime/spdlog#7c02e204c92545f869e2f04edaab1f19fe8b19fd" )# v1.13.0 message(STATUS "Include rlImGui") FetchContent_Declare( rlImGui GIT_REPOSITORY https://github.com/raylib-extras/rlImGui GIT_TAG d765c1ef3d37cf939f88aaa272a59a2713d654c9) FetchContent_MakeAvailable(rlImGui) FetchContent_GetProperties(rlImGui SOURCE_DIR RLIMGUI_DIR) add_library(rlimgui STATIC ${rlimgui_SOURCE_DIR}/rlImgui.cpp) target_link_libraries(rlimgui PRIVATE imgui raylib) target_include_directories(rlimgui INTERFACE ${rlimgui_SOURCE_DIR}) endfunction()

  • Apache Thrift

    Apache Thrift

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • tracy

    Frame profiler

  • Project mention: Tracy: Real-time nanosecond resolution frame profiler | news.ycombinator.com | 2024-03-22
  • librealsense

    Intel® RealSense™ SDK

  • Project mention: 3D visualization of geospatial data using Unity | /r/Unity3D | 2023-05-25
  • td

    Cross-platform library for building Telegram clients

  • Project mention: India blocks 14 mobile apps used by terrorists in Pakistan (includes Briar, Element, Threema etc.) | /r/privacy | 2023-05-01
  • cpr

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

  • Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08

    This one might fit the bill https://github.com/libcpr/cpr

  • libtorrent

    an efficient feature complete C++ bittorrent implementation

  • Project mention: Why is QBitTorrent so worshipped? Genuinely asking from someone who has used uTorrent for a few years. | /r/torrents | 2023-12-06

    I had a longer answer, but qBittorrent is great and has a great webui/server model if you're running a separate linux box to run it in. If you're on windows, grab 4.3.9 or 4.6.2 with libtorrent 1.x. RSS stuff is nice too. Libtorrent 2.x has issues on Windows currently (read these threads if you want to know more - https://github.com/arvidn/libtorrent/pull/7013 - https://github.com/arvidn/libtorrent/issues/6667#issuecomment-1804035311 ). Please don't bug Arvid about it though. Libtorrent 2.x gets us Bittorrent v2, which is a good thing.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • CGal

    The public CGAL repository, see the README below

  • Clipboard

    😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager

  • Project mention: hotel management system project in c++ 👍 | /r/programmingcirclejerk | 2023-07-01
  • Arduino-IRremote

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

  • Project mention: Connect to wand? | /r/MagiQuest | 2023-09-10

    However, there are plenty of libraries at this point which can handle the signal to varying degrees (some cant handle cast type but many dont care about that feature, including the game itself). I believe the most up to date currently is: https://github.com/Arduino-IRremote/Arduino-IRremote

  • harfbuzz

    HarfBuzz text shaping engine

  • Project mention: HarfBuzz: Text Shaping Engine | news.ycombinator.com | 2024-04-17
  • oneDNN

    oneAPI Deep Neural Network Library (oneDNN)

  • Project mention: Blaze: A High Performance C++ Math library | news.ycombinator.com | 2024-04-17

    If you are talking about non-small matrix multiplication in MKL, is now in opensource as a part of oneDNN. It literally has exactly the same code, as in MKL (you can see this by inspecting constants or doing high-precision benchmarks).

    For small matmul there is libxsmm. It may take tremendous efforts make something faster than oneDNN and libxsmm, as jit-based approach of https://github.com/oneapi-src/oneDNN/blob/main/src/gpu/jit/g... is too flexible: if someone finds a better sequence, oneDNN can reuse it without major change of design.

    But MKL is not limited to matmul, I understand it...

  • rttr

    C++ Reflection Library

  • indicators

    Activity Indicators for Modern C++

  • argparse

    Argument Parser for Modern C++

  • contour

    Modern C++ Terminal Emulator (by christianparpart)

  • Project mention: Neovide – a simple, no-nonsense, cross-platform GUI for Neovim | news.ycombinator.com | 2024-01-31

    Another problem is that the cursor moves while the screen is buffer is being rendered. The location is only really known once the cursor settles in the same place for some time, which is unacceptable in terms of latency.

    The synchronized output extension could be used to do this, though. https://github.com/contour-terminal/contour/blob/master/docs...

  • plog

    Portable, simple and extensible C++ logging library

  • Project mention: C++ Game Utility Libraries: for Game Dev Rustaceans | dev.to | 2024-03-13

    Alternatives are glog from Google is full-featured, like spdlog, while Plog offers a lightweight alternative. Both are worthy upgrades on using C++ built-in std::clog.

  • FunctionalPlus

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

  • Project mention: Leaving Haskell Behind | news.ycombinator.com | 2023-08-24

    Hoogle is really amazing!

    Inspired by it, I implemented something similar for FunctionalPlus (a functional-programming library for C++): https://www.editgym.com/fplus-api-search/

    I'd love to see more projects taking this path too. :)

  • etl

    Embedded Template Library

  • Project mention: Modern C++ Programming Course | news.ycombinator.com | 2023-11-28

    If you can't use the STL because of exceptions: https://www.etlcpp.com/

  • tabulate

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

  • fann

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

  • 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: pyomo VS casadi - a user suggested alternative | libhunt.com/r/pyomo | 2023-09-05

    Interface for several solvers and integrators.

  • taco

    The Tensor Algebra Compiler (taco) computes sparse tensor expressions on CPUs and GPUs

  • Project mention: The Distributed Tensor Algebra Compiler (2022) | news.ycombinator.com | 2023-06-15

    I agree! Much of this work was done as part of the overarching TACO project (https://github.com/tensor-compiler/taco), in an attempt to distribute sparse tensor computations (https://rohany.github.io/publications/sc2022-spdistal.pdf). MLIR recently (~mid 2022) began implementing the ideas from TACO into a "sparse tensor" dialect, so perhaps some of these ideas could make it into there. I'm working with MLIR these days, and if I could re-do the project now I would probably utilize and targetb the MLIR linalg infrastructure!

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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 2024-04-17.

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 imgui 55,570
2 Apache Thrift 10,135
3 tracy 7,762
4 librealsense 7,265
5 td 6,468
6 cpr 6,137
7 libtorrent 5,002
8 CGal 4,525
9 Clipboard 4,321
10 Arduino-IRremote 4,272
11 harfbuzz 3,572
12 oneDNN 3,446
13 rttr 2,971
14 indicators 2,822
15 argparse 2,341
16 contour 2,219
17 plog 2,076
18 FunctionalPlus 1,998
19 etl 1,942
20 tabulate 1,792
21 fann 1,546
22 casadi 1,538
23 taco 1,198
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com