awesome-cpp
A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
https://github.com/fffaraz/awesome-cpp
Last synced: about 1 month ago
JSON representation
Filtered by C. Clear filters
Artificial Intelligence
- Genann - Simple neural network library in C. [zlib]
Asynchronous Event Loop
Audio
- Aubio - A library for audio and music analysis.[GPL-3.0] website
- audioFlux - A C library for audio and music analysis, feature extraction. [MIT]
- dr_libs - Single file audio decoding libraries for C and C++. [Unlicense]
- libsoundio - C library for cross-platform real-time audio input and output. [MIT] website
- miniaudio - Single file audio playback and capture library. [Unlicense] website
- rnnoise - Recurrent neural network for audio noise reduction. [BSD-3-Clause]
- SoLoud - Easy, portable audio engine for games. [zlib]
- minimp3 - Public domain, header-only MP3 decoder with clean-room implementation. [CC0]
- PocketSphinx - A lightweight speech recognition engine. [BSD-2-Clause] website
Biology
BitTorrent
- jech/dht - BitTorrent DHT library in C. [MIT]
Build Systems
CLI
- linenoise - A small self-contained alternative to readline and libedit. [BSD-2-Clause]
- PDCurses - Public domain curses library with both source code and pre-compiled library available. [PublicDomain]
- termbox - A C library for writing text-based user interfaces. [MIT]
- tuibox - A single-header terminal UI (TUI) library, capable of creating mouse-driven, interactive applications on the command line. [MIT]
- Crossline - A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement. [MIT]
Compiler
- 8cc - A Small C Compiler.
- PCC - A very old C compiler. Supports C99.
- movfuscator - The single instruction C compiler, compiling programs into only mov instructions. [MIT]
Compression
- FastLZ - Small & portable byte-aligned LZ77 compression. [MIT]
- FiniteStateEntropy - New generation entropy codecs : Finite State Entropy and Huff0.
- heatshrink - data compression library for embedded/real-time systems [ISC]
- libarchive - Multi-format archive and compression library. [New BSD] website
- LZ4 - Extremely Fast Compression algorithm. [BSD] website
- LZFSE - LZFSE compression library and command line tool. Developed by Apple.
- minizip-ng - Fork of the popular zip manipulation library found in the zlib distribution. [zlib]
- smaz - Small strings compression library. [BSD]
- zlib-ng - zlib for the "next generation" systems. Drop-In replacement with some serious optimizations. [zlib]
- ZXC - High-performance asymmetric lossless compression. [BSD-3-Clause]
- LZAV - Fast In-Memory Data Compression Algorithm. [MIT]
- LZMAT - An extremely fast real-time lossless data compression library. [GPL]
Concurrency
Configuration
Containers
- C++ B-tree - A template library that implements ordered in-memory containers based on a B-tree data structure. [Apache2]
- CRoaring - Roaring bitmaps in C (and C++), with SIMD optimizations. [Apache-2.0]
Cryptography
- Themis - crypto library for painless data security, providing symmetric and asymmetric encryption, secure sockets with forward secrecy, for mobile and server platforms. [Apache2]
- libsodium - P(ortable|ackageable) NaCl-based crypto library, opinionated and easy to use. [ISC]
- libhydrogen - A lightweight, secure, easy-to-use crypto library suitable for constrained environments. [ISC]
- LibTomCrypt - A fairly comprehensive, modular and portable cryptographic toolkit. [WTFPL]
- OpenSSL - A robust, commercial-grade, full-featured, and Open Source cryptography library. [Apache] website
- retter - A collection of hash functions, ciphers, tools, libraries, and materials related to cryptography.
- sha1collisiondetection - Library and command line tool to detect SHA-1 collision in a file. [MIT]
- Tiny AES in C - Small portable AES128/192/256 in C. [PublicDomain]
- crypto-algorithms - Basic implementations of standard cryptography algorithms (AES, SHA, etc.) in C. [PublicDomain]
- aes-stream - A fast AES-based stream cipher for C. [ISC]
CSV
- zsv - The world's fastest (simd) CSV parser, with an extensible CLI. [MIT]
Database
- ClickHouse - C++ client for ClickHouse DBMS. [Apache2]
- CrossDB - Ultra High-performance Lightweight Embedded and Server OLTP RDBMS. [MPL-2.0] website
- Hiredis - A minimalistic C client library for the Redis database. [BSD]
- libpg_query - C library for accessing the PostgreSQL parser outside of the server environment. [BSD-3-Clause]
- MongoDB C Driver - MongoDB client library for C. [Apache2]
- MongoDB Libbson - A BSON utility library. [Apache2]
- SQLiteC++ - SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper. [MIT]
- TidesDB - High-performance, durable, transactional embedded storage engine designed for flash and RAM optimization. [MPL-2.0] website
- UnQLite - A self-contained, serverless, zero-configuration, transactional NoSQL engine. [BSD-2-Clause] website
- Trilogy - a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding. [MIT]
Debug
- check - Check is a unit testing framework for C. [LGPL-2.1] website
- fff - A micro-framework for creating fake C functions. [MIT]
- ig-debugheap - Multiplatform debug heap useful for tracking down memory errors. [BSD]
- libtap - Write tests in C. [GPL2]
- microprofile - Profiler with web-view for multiple platforms. [Unlicense]
- MinUnit - A minimal unit testing framework for C self-contained in a single header file. [MIT]
- Remotery - Single C File Profiler with Web Viewer. [Apache2]
- Unity - Simple Unit Testing for C. [MIT]
DSP
Font
- otfcc - A C library and utility used for parsing and writing OpenType font files. [Apache-2.0]
- libschrift - A lightweight TrueType font rendering library. [ISC]
- SheenBidi - A sophisticated implementation of Unicode Bidirectional Algorithm. [Apache-2.0]
Frameworks
Game Engine
- Corange - A game engine written in pure C, SDL and OpenGL. [BSD]
- Halley - A lightweight game engine written in C++14 with a "true" entity-component system. [Apache 2.0]
- raylib - A simple and easy-to-use library to enjoy videogames programming. [zlib/libpng] website
- Torque2D - An open-source and cross-platform C++ engine built for 2D game development. [MIT] website
Graphics
- GLFW - A simple, cross-platform OpenGL wrangling library. [zlib/libpng]
- herebedragons - A basic 3D scene implemented with various engines, frameworks or APIs. [MIT] website
- LunaSVG - a standalone SVG rendering library in C++. [MIT]
- NanoVG - Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations. [Zlib]
- Partio - Library for wrangling particle data, with support for most common file formats. [Modified BSD]
- TinySpline - A small, yet powerful ANSI C library for interpolating, transforming, and querying arbitrary NURBS, B-Splines, and Bézier curves. [MIT]
GUI
- libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports. [MIT]
- NAppGUI - SDK for building cross-platform desktop apps in ANSI-C. [MIT] website
- nuklear - A single-header ANSI C gui library. [PublicDomain]
- WebUI - Use any web browser as GUI, with your preferred language in the backend and HTML5 in the frontend. [MIT] website
- LCUI - A small C library for building user interfaces with C, XML and CSS. [MIT]
Image Processing
- fpng - Super fast C++ .PNG writer/reader. [Unlicense]
- GD - GD Graphics Library, famously used in PHP for image loading/manipulation & thumbnail generation. [custom permissive license, requires mention in user docs] website
- libavif - Library for encoding and decoding .avif files. [BSD-2-Clause]
- libjpeg-turbo - A JPEG image codec that uses SIMD instructions to accelerate baseline JPEG encoding and decoding. [IJG & BSD-3-Clause & zlib] website
- libpng - the reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. [libpng-2.0] website
- libspng - Simple, modern libpng alternative. [BSD-2] website
- libvips - A fast image processing library with low memory needs. [LGPL] website
- MozJPEG - Improved JPEG encoder. [BSD/BSD-3-Clause/ZLIB]
- OpenJPEG - an open-source JPEG 2000 codec written in C language. [BSD-2-Clause]
- PlutoFilter - A single-header, zero-allocation image filter library in C. [MIT]
- QOI - The “Quite OK Image Format” for fast, lossless image compression. [MIT]
Internationalization
- utf8proc - A clean C library for processing UTF-8 Unicode data. [MIT]
Inter-process communication
JSON
- cJSON - Ultralightweight JSON parser in ANSI C. [MIT]
- frozen - JSON parser and generator for C/C++. [GPL & GPL2]
- Jansson - C library for encoding, decoding and manipulating JSON data. [MIT]
- Jsmn - A minimalistic JSON parser in C. [MIT]
- json-build - C89 tiny zero-allocation JSON serializer. [MIT]
- json-c - A JSON implementation in C. [MIT]
- libjson - A JSON parser and printer library in C. easy to integrate with any model. [LGPL]
- LIBUCL - Universal configuration library parser. [BSD-2-Clause]
- parson - Parson is a lighweight json library written in C. [MIT]
- YAJL - A fast streaming JSON parsing library in C. [ISC]
- yyjson - A high performance JSON library written in ANSI C. [MIT]
Logging
- haclog - An extremely fast plain C logging library. [MIT]
Machine Learning
- darknet - Open source neural network framework written in C and CUDA. [PublicDomain] website
- Recommender - C library for product recommendations/suggestions using collaborative filtering (CF). [BSD]
- RNNLIB - RNNLIB is a recurrent neural network library for sequence learning problems. [GPLv3]
- VLFeat - The VLFeat open source library implements popular computer vision algorithms specialising in image understanding and local featurexs extraction and matching. [BSD-2-Clause] website
- kann - A lightweight C library for artificial neural networks. [MIT]
Math
- Apophenia - A C library for statistical and scientific computing. [GPL2]
- MATIO - MATLAB MAT File I/O Library. [BSD-2-Clause] website
- LibTomMath - A free open source portable number theoretic multiple-precision integer library written entirely in C. [PublicDomain & WTFPL] website
- linmath.h - A lean linear math library, aimed at graphics programming. [WTFPL]
- SimSIMD - Vector distance functions for x86 AVX2, AVX-512, Arm NEON, and SVE. [Apache2]
- TinyExpr - A C library for parsing and evaluating math expressions from strings. [zlib]
- NumKong - SIMD-accelerated distances, dot products, matrix ops, geospatial & geometric kernels for 16 numeric types. [Apache2] (previously named SimSIMD)
Memory Allocation
- Boehm GC - Conservative garbage collector for C and C++. [similar to X11] website
- jemalloc - General purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support. [BSD] website
- mimalloc - A compact general purpose allocator with excellent performance. [MIT]
- rpmalloc - Cross platform lock free thread caching 16-byte aligned memory allocator implemented in C. [PublicDomain]
- tgc - A tiny garbage collector for C written in ~500 LOC. [BSD]
- TLSF - Two-Level Segregated Fit memory allocator, a general purpose dynamic memory allocator. [BSD]
Miscellaneous
- Argon2 - The password hash Argon2, winner of PHC. [CC0/Apache2]
- Concord - A Discord API wrapper library written in C. [MIT] website
- Klib - Small and lightweight implementations of common algorithms and data structures. [MIT]
- libcpuid - A small C library for x86 CPU detection and feature extraction. [BSD]
- libnih - A lightweight library of C functions and structures. [GPL2.1]
- libpopcnt - Fast C/C++ bit population count library. [BSD-2-Clause]
- pspsdk - An open-source SDK for PSP homebrew development. [BSD/GNU GPL3]
- reproc - A cross-platform (C99/C++11) process library. [MIT]
- SDS - Simple Dynamic Strings library for C. [BSD]
- semver.c - A semver parser and render in ANSI C. [MIT]
- SLJIT - Platform independent low-level JIT compiler. [BSD] website
- simdzone - Fast and standards compliant DNS zone parser. [BSD-3-Clause]
- stb - A range of single-file libraries for C/C++. [PublicDomain]
- StringZilla - the Godzilla of string libraries, splitting, sorting, and shuffling large textual datasets faster than you can say "Tokyo Tower". [Apache-2.0]
- ub-canaries - A collection of C/C++ programs that try to get compilers to exploit undefined behavior.
- xxHash - Extremely fast non-cryptographic hash algorithm. [BSD-2-Clause] website
- Gear-Lib - A collection of basic libraries in POSIX C for embedded and network service development. [MIT]
- tinydir - A lightweight, portable, and easy to integrate C directory and file reader. [BSD-2-Clause]
- Cello - Higher level programming in C, including generic data structures and polymorphism. [BSD-2-Clause] website
- libcorrect - A C library for convolutional codes and Reed-Solomon error correction. [BSD-3-Clause]
- libfsm - A library for building and executing finite state machines, including regex and glob. [BSD-2-Clause]
- SIMD Everywhere - Implementations of SIMD instruction sets for systems which don't natively support them. [MIT]
Multimedia
Networking
- c-ares - A C library for asynchronous DNS requests. [MIT]
- DPDK - Data Plane Development Kit, libraries and drivers for fast packet processing. [BSD-3-Clause & GPL-2.0] website
- Dyad.c - Asynchronous networking for C. [MIT]
- ENet - Reliable UDP networking library. [MIT] website
- H2O - An optimized HTTP server with support for HTTP/1.x and HTTP/2. It can also be used as a library. [MIT]
- HTTP Parser - A http request/response parser for C. [MIT]
- libpcap - A portable C/C++ library for network traffic capture. [BSD] website
- libwebsockets - A lightweight pure C WebSocket implementation that provides both client and server libraries. [LGPL2.1 + static link exception] website
- Mongoose - Extremely lightweight webserver. [GPL2]
- MQTT-C - A portable MQTT C client for embedded systems and PCs alike. [MIT] website
- mTCP - Highly scalable user-level TCP stack for multicore systems. [Modified BSD]
- nghttp3 - HTTP/3 library written in C. [MIT] website
- Onion - HTTP server library in C designed to be lightweight and easy to use. [Apache2/GPL2]
- PF_RING™ - High-speed packet processing framework. [LGPL-2.1] website
- PicoHTTPParser - A tiny, primitive, fast HTTP request/response parser. [MIT]
- tlse - Single C file TLS 1.2/1.3 implementation, using tomcrypt as crypto library [BSD-2-Clause]
- uriparser - Strictly RFC 3986 compliant URI parsing and handling library. [BSD-3-Clause]
- UCall - A high-performance SIMD-accelerated RPC library on io_uring. [Apache2]
- CZMQ - High-level C binding for ØMQ. [MPL2] website
- Zyre - Local Area Clustering for Peer-to-Peer Applications. [MPL2]
- wepoll - A Windows epoll wrapper based on Winsock. [BSD-2-Clause]
Office Open XML
- libxls - Read binary Excel files from C/C++ [BSD-2-Clause]
- libxlsxwriter - A C library for creating Excel XLSX files. [BSD-2-Clause] website
Other Awesome Projects
- c-algorithms - C algorithms library.
- libharu - A free, cross platform, open-sourced software library for generating PDF. [zlib]
- PDF-Writer - High performance library for creating, modiyfing and parsing PDF files in C++ [Apache-2.0] website
- pdfio - A simple C library for reading and writing PDF files. [Apache-2] website
Physics
Regular Expression
- Oniguruma - A modern and flexible regular expressions library that supports a variety of character encodings. [BSD]
- SLRE - Super Light Regexp engine for C/C++. [GPLv2/Proprietary]
- sregex - A non-backtracking NFA/DFA-based Perl-compatible regex engine library for matching on large data streams. [BSD]
- TRE - The approximate regex matching library and agrep command line tool. [BSD-2-Clause]
- PCRE2 - a set of C functions that implement
- BSD
Robotics
- SPICE Toolkit - Library and toolkit for computing geometric information used in planning and analyzing science observations obtained from robotic spacecraft. [MIT] website