C++ Resource Collection Chinese Version
awesome-cpp is a list of C++ resources initiated and maintained fffaraz , including: standard library, web application framework, artificial intelligence, database, image processing, machine learning, logging, code analysis, etc.
The Chinese version is maintained and updated by开源前哨and the WeChat official account team CPP开发者. There are nearly 4400 Star on GitHub. Welcome to follow on Github.
Participants in this project
Maintainer:开源前哨and CPP开发者WeChat public account team. "Open Source Outpost" will regularly share the latest, interesting and popular open source projects in the Zhihu column, each project has detailed introductions and examples. Portal: https://www.zhihu.com/column/c_1317124962785062912
Contributors: cccookieee, JingerJoe, Yunzhongyou, Bingbin, Juliesand, ZZMarquis, Yan Minhui, tangyouhua, ShenMian
Note: The list is not ranked and will be updated from time to time
Table of contents
- Standard library
- frame
- AI
- Asynchronous event loop
- Audio
- Ecology
- compression
- Concurrency
- container
- Cryptography
- database
- debug
- Game Engine
- Graphical user interface
- Graphics
- Image processing
- Internationalization
- Json
- log
- Machine Learning
- math
- multimedia
- network
- physics
- Robotics
- Scientific computing
- script
- Serialization
- video
- Virtual Machine
- Web application framework
- XML
- Multiple mixed
- software
- Compiler
- Online compiler
- debugger
- Integrated development environment
- Build the system
- Static code analysis
Standard library
The C++ standard library includes STL containers, algorithms and functions.
- C++ Standard Library: is a collection of a series of classes and functions, written in a core language, and is also part of C++ISO's own standards.
- Standard Template Library: Standard Template Library.
- C POSIX library: The C standard library specification for POSIX system.
- ISO C++ Standards Committee: C++ Standards Committee.
- The GNU C Library: The purpose of this manual is to show you how to use the GNU C library.
frame
C++ general framework and library
- abseil-cpp: Abseil C++ general library.
- Apache C++ Standard Library: is a collection of algorithms, containers, iterators and other basic components.
- APR: Apache portable runtime library. Another cross-platform library.
- ASL: The Adobe source code library provides peer review and portable C++ source code library.
- Boost: A collection of a large number of general-purpose C++ libraries.
- BDE: From the development environment of Bloomberg Information Lab.
- Cinder: Provides an open source development community with professional quality creative coding.
- CO - C++ basic library, including go-style coroutine library, log library, JSON library, RPC framework and other basic components.
- Cxxomfort: A lightweight, library that only contains header files, ports some new features of C++11 to C++03.
- Dlib: A universal cross-platform C++ library designed using contractual programming and modern C++ technology.
- EASTL: EA-STL public part.
- ETL: Embedded template library.
- ffead-cpp: Enterprise application development framework.
- Folly: An open source C++ library developed and used by Facebook.
- FunctionalPlus: C++ functional programming library, writing concise and easy-to-read C++ code.
- GLib: GLib provides core code blocks for libraries and applications written in C.
- JUCE: An all-inclusive C++ class library for developing cross-platform software.
- Kigs framework: C++ free and open source modular, multifunctional, cross-platform RAD framework.
- libPhenom: An event framework for building high-performance and highly scalable systems.
- LibSourcey: C++11 evented IO for real-time video streaming and high-performance network applications.
- LibU: A multi-platform tool library written in C language.
- Loki: The design of C++ library, including the implementation of common design patterns and idioms.
- MiLi: A small C++ library containing only header files.
- openFrameworks: Develop C++ toolkits for creative coding.
- Qt: Cross-platform application and user interface framework.
- Reason: A cross-platform framework that enables developers to use Java, .Net and Python more easily, while also meeting their needs for C++ performance and advantages.
- ROOT: A series of object-oriented frameworks with all functions that can process and analyze large amounts of data very efficiently, and are used by European atomic energy research institutions.
- STLport: is a representative version of STL.
- STXXL: A standard template library for additional large data sets.
- tbox: Multi-platform C library similar to glib.
- Ultimate++: C++ cross-platform fast application development framework.
- uSTL: Small STL library.
- Windows Template Library: A C++ library for developing Windows applications and UI components.
- Yom2: Fast, orthogonal, open multi-methods, replacing Yom11.
AI
- ANNetGPGPU: A GPU (CUDA)-based artificial neural network library.
- btsk: Game behavior tree launcher tool.
- Evolving Objects: A template-based, ANSI C++ evolution computing library can help you write your own random optimization algorithm very quickly.
- frugally-deep: C++ library using Keras model, only header files.
- Genann: Simple neural network C library.
- MXNet: Lightweight, portable, flexible distributed/mobile deep learning with dynamic, mutation-aware data flow management scheduler. Suitable for Python, R, Julia, Scala, Go, Javascript and more.
- PyTorch: A Python library with powerful CPU acceleration, including tensors and dynamic neural networks.
- Recast/Detour: (3D) Navigation grid generator and path search, mainly used in games.
- TensorFlow: An open source software library that uses data flow graphs for numerical calculations.
- CNTK: Microsoft Cognitive Toolkit (CNTK), an open source library of deep learning tools.
- tiny-dnn: Dependency-free deep learning framework in C++11, with only header files.
- Veles: A distributed platform for rapid deep learning application development.
- Kaldi: Voice recognition toolkit.
Asynchronous event loop
- Asio: A cross-platform C++ library for networking and underlying I/O programming, using modern C++ methods to provide developers with a consistent asynchronous model.
- Boost.Asio: A cross-platform C++ library for networking and underlying I/O programming.
- C++ Actor Framework: An open source implementation of Actor Model in C++.
- libev: Full-featured, high-performance time loop, slightly imitating libevent, but no longer has limitations like libevent, and it also fixes some of its bugs.
- libevent: Event notification library.
- libhv: A cross-platform event loop library.
- libuv: Cross-platform asynchronous I/O.
- promise-cpp: A library that implements the Promise/A+ standard, only header files.
- uvw: libuv's C++ encapsulator.
Audio
Audio, sound, music, digital music library
- AudioFile: A simple C++ library for reading and writing audio files.
- FMOD: Easy to use cross-platform audio engine and game creation tool for audio content.
- KFR: Fast, modern C++ DSP framework, FFT, FIR/IIR filter, and sample rate conversion.
- LAME: LAME is a high-quality MPEG audio third layer (MP3) encoder.
- libsndfile: C++ encapsulated C library, used to read and write files containing sampled sounds through the standard library interface.
- libsoundio: A C library for cross-platform real-time audio input and output.
- Maximilian: C++ audio and music digital signal processing library.
- OpenAL: Open Source Audio Library---Cross-Platform Audio API.
- miniaudio: A library for single-file audio playback and recording.
- Opus: A fully open, royalty-free, highly universal audio codec.
- PortAudio: Free, cross-platform, open source audio I/O library.
- SELA: SimplIE Lossless Audio.
- SoLoud: Simple and portable gaming audio engine.
- Speex: Free codec, discarded by Opus.
- Tonic: C++ easy to use and efficient audio synthesis.
- Vorbis: Ogg Vorbis is a completely open, non-proprietary, royalty-free universal compressed audio format.
- minimp3: Public domain, clean room implementation MP3 decoder, only header files.
- Verovio: A fast and lightweight library of music symbol engravings.
- Wav2Letter++: Public domain, a fast open source speech processing library written entirely in C++, using ArrayFire tensor library and flashlight machine learning library to achieve maximum efficiency.
Ecology
Bioinformatics, genomics and biotechnology
BioC++: C++ computing library for bioinformatics.
Chaste: Open source C++ library for computational simulation of mathematical models developed for physiology and biology.
libsequence: A C++ library for representing and analyzing population genetic data.
SeqAn: Algorithms and data structures focused on biological data sequence analysis.
Vcflib: A C++ library for parsing and processing VCF files.
Wham: Apply associative tests directly to gene structural mutations in BAM files.
Bitstream
- jech/dht: A bitstream distributed hash table library implemented by C.
- libtorrent(aka libtorrent-rasterbar): An efficient and functional C++ bitstream implementation.
- LibTorrent (aka libtorrent-rakshasa): bitstream library.
- libutp: uTorrent transport protocol library.
Chemical
Chemistry, Geochemistry, Biochemistry
- d-SEAMS: A molecular dynamics orbital analysis engine with Nix's C++ and Lua implementation, which is the abbreviation for deferred structural analysis of molecular simulations.
- gromacs: Parallel molecular dynamics implementation of passing messages.
- Reaktoro: A computational framework for modeling chemical reaction systems in C++ and python.
- LAMMPS: Classic molecular dynamics code for material modeling, it is the acronym for a large-scale atomic/molecule massive parallel simulator.
Command line interface
Console/terminal user interface, command line interface
- Argh!: A minimalist parameter handler that only header files.
- Taywee / args: Simple C++ parameter parsing library with only header files.
- Boost.Program_options: Get library for program selections through common methods such as command lines and configuration files.
- Clara: Easy to use, composable command line parser for C++11 and later.
- cli: Cross-platform C++14 library for interactive command line interfaces, with only header files.
- CLI11: Single or multi-file C++11 library for simple and advanced CLI parsing, with only header files.
- jarro2783/cxxopts: Lightweight C++ command line options parser.
- docopt.cpp: Library that generates options parsed from document strings.
- gflags: C++'s command line flag module.
- indicators: Activity indicators of modern C++.
- linenoise: A small independent choice for readline and libedit.
- linenoise-ng: A small portable GNU readline replacement for Linux, Windows, and MacOS, which is capable of handling UTF-8 characters.
- Lyra: Easy to use, composable command line parser for C++11 and later.
- Ncurses: Terminal user interface.
- PDCurses: A public domain curses library with source code and precompiled libraries.
- replxx: Supports UTF-8, syntax highlighting, prompt readline and libedit replacement, which can work on Unix and Windows.
- tabulate: a modern C++ table making tool.
- TCLAP: A mature, stable, and diverse library for defining and accessing command line parameters in ANSI C++.
- termbox: A C library for writing text-based user interfaces.
compression
Compression and Archive Library
- bit7z: C++ static library, providing a simple interface with 7-zip DLLs.
- Brotli: Brotli compression format, developed by Google.
- bzip2: A completely free, free patent and high-quality data compression.
- FiniteStateEntropy: New generation entropy codecs: finite state entropy and Huff().
- PhysicsFS: A library that provides abstract access to various archives, mainly used in video games, and the design inspiration is partly derived from Quake3's file subsystem.
- KArchive: A library for creating, reading, writing, and manipulating file archives such as zip and tar. It provides transparent compressed and decompressed data through a series of subclasses of QIODevice using the gzip format.
- libarchive: Multi-format archive and compression library.
- LZ4: Very fast compression algorithm.
- LZFSE: LZFSE compression library and command line tools.
- LZHAM: Lossless compression database, the compression ratio is close to LZMA, but the decompression speed is much faster.
- LZMA: 7z format default and common compression method.
- LZMAT: Extremely fast real-time lossless data compression library.
- miniz: Single C source file, compact/expand compression library, using zlib-compatible API, ZIP archive read and write, and PNG writing method.
- Minizip: Zlib's latest bug fix, supports PKWARE disk spanning, AES encryption and IO buffering.
- smaz: Small character compression library.
- Snappy: Quick compression and decompression.
- ZLib: Very compact data stream compression library.
- zlib-ng: zlib for "next generation" systems, embedding replacement of some important optimizations.
- zstd: Zstandard - Fast real-time compression algorithm. Developed by Facebook.
- ZZIPlib: Provides read permissions for ZIP archives.
Concurrency
Concurrent execution and multithreading
- alpaka: an abstract library for parallel kernel acceleration.
- ArrayFire: General-purpose GPU library.
- Async++: A lightweight parallel framework for C++ 11, inspired by the Microsoft PPL library and the N3428 C++ standard proposal.
- Boost.Compute: C++ GPU computing library for OpenCL.
- Bolt: A C++ template library optimized for GPU.
- ck: Concurrent primitives, secure memory recovery mechanisms and non-blocking data structures.
- concurrentqueue: C++11's fast multi-producer and multi-consumer lock-free concurrent queue.
- Cpp-Taskflow: Fast C++ parallel programming with task dependencies.
- CUB: CUB provides the latest reusable software components for each layer of the CUDA programming mode.
- cuda-api-wrappers: A lightweight modern C++ encapsulator for runtime API programming for CUDA GPUs.
- cupla: Run CUDA/C++ API in OpenMPA, threads, TBB... through Alpaka.
- C++React: Reactive programming library for C++11.
- FiberTaskingLib: A task-based multi-threaded library that supports task charts with arbitrary dependencies.
- HPX: A universal C++ runtime system for parallel distributed applications of any size.
- Intel Games Task Scheduler: A task scheduling framework designed for the needs of game developers.
- Intel Parallel STL: Intel implementation of C++17 STL for C++11 and later.
- Intel TBB: Intel thread building module.
- junction: A C++ library for concurrent data structures.
- Kokkos: A portable programming model for parallel operation and memory abstraction.
- libcds: A C++ library for parallel data structures.
- Libclsph: OpenCL-based GPU-accelerated SPH fluid simulation library.
- libmill: Introduce structural concurrency in C.
- libdispatch: Grand Central Dispatch (GCD) developed by Apple is a task parallel technology based on thread pool pattern. The libdispatch library provides the implementation of GCD services.
- libmill: Introduce Go-style concurrency in C.
- marl: Marl is a task scheduler for mixed threads/fibers written in C++11.
- modernngpu: modernngpu is a productivity library for GPUs general computing, it only has C++ header files written for CUDA. The unique value of this library lies in its acceleration primitives used to solve irregular parallel problems.
- NCCL: Optimized primitives for collective multi-GPU communication.
- OpenCL: Open standard for heterogeneous systems that are programmed in parallel.
- OpenMP: OpenMP API.
- SObjectizer: A rather small C++ framework that implements Actor, Publish-Subscribe and CSP modes.
- Quantum: A powerful C++ collaborative scheduler framework built on the top level of boost::coroutines2.
- RaftLib: RaftLib C++ library, implements stream/data stream concurrency through iostream-like C++ operators.
- readerwriterqueue: C++ fast single producer and single consumer lock-free queue.
- stdgpu: Efficient STL-like data structure on GPU.
- Thrust: A parallel algorithm library similar to the C++ standard template library.
- transwarp: A C++ library for task concurrency, only header files.
- VexCL: C++ vector expression template library for OpenCL/CUDA.
- Quantum: A powerful C++ collaborative scheduler framework built on the top level of boost::coroutines2.
- STAPL: C++ parallel programming framework designed to work on shared and distributed memory parallel computers.
Configuration
Configuration file, INI file
inih: A simple .INI file parser in C language, which is very suitable for embedded systems.
inih: The C++ version of inih, only header files.
ineparser: INI file parser.
libconfig: C and C++ libraries used to handle structured configuration files.
libconfuse: C's small configuration file parsing library.
simpleini: A cross-platform C++ library that provides a simple API for reading and writing INI configuration files.
toml++: TOML parser and stringer, suitable for C++17 and later, with only header files.
container
- C++ B-tree: A template library that implements command memory containers based on B-tree data structure.
- Colony: Unordered "bag" containers, which perform better than standard containers when highly modified. At the same time, it can always maintain a permanent pointer to an unerased element, regardless of insertion or erase.
- dynamic_bitset: C++17 dynamic bitset collection, only header files.
- Forest: Implements template libraries for AVL, binary search, KD and quadtree.
- Hashmaps: Implementation of open addressing hash table algorithm in C++.
- Hopscotch map: Use the hopscotch hash algorithm to implement fast hash mapping for conflict resolution, with only header files.
- LSHBOX: The C++ toolbox for locally sensitive algorithms (LSH) provides several common LSH algorithms and can also support Python and MATLAB.
- PGM-index: A data structure that can quickly find, lead, range search and update hundreds of millions of item arrays, using the order of gradients rather than space compared to traditional indexes.
- plf::list: std::list implementation, which clears range stitching to enable cache-friendly structures, resulting in significantly improved performance.
- plf::stack: std::stack container adapter, which has better performance in stack context than any standard container.
- ring_span lite: A simplified implementation of ring_span by Arthur O'Dwyer, such as a circular buffered view.
- robin-hood-hashing: A fast, memory-saving hash table for C++1, based on the robin hood hashing algorithm.
- robin-map: hash mapping and hash set using robin hood hash algorithm.
- sparsepp: Fast, memory-saving hash mapping for C++.
Cryptography
Cryptography and encryption library
- Bcrypt: A cross-platform file encryption tool that can be ported to all supported operating systems and processors.
- BeeCrypt: Portable and fast encryption library.
- Botan: C++ encryption library.
- Crypto++: A free C++ library for encryption schemes.
- digestpp: C++11's information digest (hash) library, only header files.
- GnuPG: Complete and free implementation of OpenPGP standard.
- GnuTLS: A secure communication library that implements SSL, TLS and DTLS protocols.
- Libgcrypt: A universal password library, originally based on CnuPG code.
- LibreSSL: The free SSL/TLS protocol belongs to a branch of OpenSSL in 2014.
- libsodium: NaCI-based encryption library, stubborn and easy to use.
- libhydrogen: A lightweight, secure, easy-to-use encryption library for constrained environments.
- LibTomCrypt: A fairly comprehensive, modular and portable encryption toolkit.
- mbedTLS: an open source, portable, easy to use, readable, flexible SSL library, formerly known as PolarSSL.
- Nettle's underlying encryption library.
- OpenSSL: A robust, commercial, fully functional, open source encryption library.
- retter: A collection of cryptography related to hash functions, passwords, tools, libraries, and materials.
- s2n: Implementation of TLS/SSL protocol.
- sha1collisiondetection: A library and command line tool for detecting SHA-1 conflicts in files.
- Tink: Multilingual, cross-platform library that provides secure, easy to use and difficult to abuse encryption APIs.
- Tiny AES in C: C small and medium portable AES128/192/256.
- Themis: An encryption library for painless data security, providing symmetric and asymmetric encryption for mobile and server platforms, secure sockets with forward confidentiality.
CSV
Library for parsing comma separated value (CSV) files
- csv2: Fast CSV parser for modern C++.
- Fast C++ CSV Parser: A small, easy-to-use and fast library for reading CSV files, including only header files.
- Vince's CSV Parser: Fast, standalone, streaming C++17 CSV parser with optional type conversion and statistics.
database
Databases, SQL Servers, ODBC Drivers and Tools
- hiberlite: C++ object relational mapping for Sqlite3.
- Hiredis: A very simple C client library for Redis databases.
- LevelDB: A fast key-value repository written by Google that provides an ordered mapping from character keys to string values.
- LMDB: Embedded key-value storage that conforms to the four basic elements of the database.
- LMDB++: C++11 encapsulator for LMDB embedded databases.
- MongoDB C Driver: C's MongoDB client library.
- MongoDB C++ Driver: C++ driver for MongDB.
- MongoDB Libbson: BSON utility library.
- MySQL++: A C++ encapsulator that encapsulates MySql's C API.
- nanodbc: A small C++ wrapper for native C ODBC API.
- ODB: C++'s open source, cross-platform, and cross-database object relational mapping (ORM) system.
- redis3m: Hiredis encapsulator using a clean C++ interface, supporting tags and ready-made patterns.
- RocksDB: Quick storage of embedded key values from Facebook.
- SimDB: High performance, shared memory, lock-free, cross-platform, single file, minimal dependency C++11 key-value storage.
- SOCI: C++'s database abstraction layer.
- SQLite: A fully embedded, fully functional relational database with only a few hundred KBs that can be correctly included in your project.
- SQLiteC++: SQLiteC++ (SQLiteCpp) is a clever and easy to use C++ SQLite3 wrapper.
- sqlite_modern_cpp: The C++14 wrapper of the sqlite library, only header files.
- sqlite_orm: SQLite ORM lightweight library for modern C++, with only header files.
- sqlpp11: A type-safe embedded domain-specific language for SQL queries and yielding results in C++.
- TileDB: Fast dense and sparse multi-dimensional array DBMS.
- UnQLite: A standalone, serverless, zero configuration thing-based NoSQL engine.
- upscaledb: Embedded "typed" key-value store with built-in query interface.
debug
Debugging library, memory and resource leakage detection, unit testing
- backward-cpp: C++'s beautiful stack track printer.
- benchmark: A small micro benchmark support library provided by Google.
- Boost.Test: Boost test library.
- check: C's unit testing framework.
- doctest: The most lightest testing framework for a single C++ header file.
- Catch: A very stylish, C++ native framework that only contains header files for unit testing, test-driven development and behavior-driven development.
- Catch2: A very stylish, C++ native framework that only contains header files for unit testing, test-driven development and behavior-driven development.
- Celero: C++ benchmarking framework.
- CppUTest: C/C++ unit testing and mocking framework.
- CUTE: Easier C++ unit testing.
- CMocka: A C unit testing framework that supports mock objects.
- CppUnit: A C++ testing framework ported by JUnit.
- CTest: CMake test driver.
- dbg-macro: C++ dbg (…) macro.
- Deleaker: Tools for resource leak checks, including memory, GDI, and handling leaks.
- fff: Create a microframework for pseudo-C functions.
- Google Mock: A library for writing and using C++ mock classes.
- Google Test: Google's C++ testing framework.
- ig-debugheap: A multi-platform debug heap for tracking memory errors.
- libtap: Write tests in C language.
- MemTrack: Used to track memory allocation in C++.
- microprofile: Cross-platform network view analyzer.
- minUnit: The smallest unit test framework written in C, included in a single header file.
- Mockator: Eclipse CDT plugin for C++ stitching and mocking objects.
- Nanotimer: A simple, low overhead, cross-platform timer class for benchmarking.
- Nonius: C++ microbenchmarking framework.
- Remotery: A single C file analyzer for web views.
- UnitTest++: Lightweight C++ unit testing framework.
- Unity: Simple unit tests for C.
- utest.h: Single header file testing framework for C and C++.
- μt: C++20 single-header file/single module, μ (micro)/unit testing framework without macros.
- VLD: Microsoft Leakage Meter, a free, robust and open source memory leak detection system for Visual C++.
Font
A library for parsing and processing font files.
- Fontconfig: Font configuration and custom library.
- FreeType: A free, available software library for rendering fonts.
- otfcc: C library and utility for parsing and writing OpenType font files.
Game Engine
- Acid: High-speed C++17 Vulkan game engine.
- Allegro: A cross-platform library mainly used for video games and multimedia programming.
- Cocos2d-x: A multi-platform framework for building 2D games, interactive books, demonstrations and other graphics applications.
- Corange: A game engine written in pure C, SDL, and OpenGL.
- Crown: Crown is a universal data-driven game engine written from scratch using orthodox C++ with minimalist and data-oriented design concepts in mind.
- delta3d: A robust simulation platform.
- EnTT: The collision between games and modern C++.
- GamePlay: A cross-platform native C++ game framework for creating 2D/3D mobile and desktop games.
- Godot: A fully functional, open source, MIT licensed game engine.
- Grit: Community project for building a free game engine that enables open world 3D games.
- Halley: A lightweight game engine written in C++14 with a "real" physical component system.
- KlayGE: A cross-platform, open source game engine based on plug-in architecture.
- nCine: A cross-platform 2D game engine that focuses on performance, written in C++11, and you can also choose to write scripts using Lua.
- OpenXRay: A community-modified X-ray engine used in the STALKER game series.
- Oxygine: Cross-platform 2D C++ game engine.
- Panda3D: Game engine, a framework for 3D rendering and game development of Python and C++ programs.
- PixelGameEngine: The official release of olcPixelGameEngine, a tool for YouTube videos and projects for javidx9.
- Polycode: An open source framework implemented in C++ (bound to Lua) for creating games.
- raylib: Simple, easy to use library for enjoying the fun of video game programming.
- Spring: Powerful, free, cross-platform RTS game engine.
- Torque2D: An open source, cross-platform C++ engine built for 2D game development.
- Torque3D: An open source C++ engine built for 3D game development.
- toy engine: toy is a lightweight, modular C++ game engine and provides simple, expressive C++ idioms to quickly iterate the design of fully functional 2D and 3D games.
- Urho3D: The free, lightweight, cross-platform 2D and 3D game engine implemented by C++ was greatly inspired by OGRE and Horde3D.
Graphical user interface
Graphical user interface
- Boden: Native, mobile, cross-platform GUI framework.
- CEGUI: Flexible cross-platform GUI library.
- Elements: Lightweight, fine-grained, resolution-independent modular GUI library.
- FLTK: Fast, lightweight cross-platform C++ GUI toolkit.
- GacUI: GPU-accelerated C++ user interface, with WYSIWYG development tools, supports XML, and has built-in data binding and MVVM capabilities.
- GTK+: A multi-platform toolkit for creating graphical user interfaces.
- gtkmm: The official C++ interface for the popular GUI library GTK+.
- imgui: A real-time mode graphical user interface with minimal dependencies.
- implot: imgui's real-time mode drawing control.
- iup: A multi-platform toolkit for building graphical user interfaces.
- libui: A simple, portable (but inflexible) GUI library in C, using native GUI technology for every platform it supports.
- MyGUI: Fast, flexible, simple GUI.
- nana: Nana is a cross-platform library for modern C++ style GUI programming.
- NanoGui: A minimalist, cross-platform control library for OpenGL 3.x and later.
- nuklear: ANSI C gui library for single header files.
- QCustomPlot: Qt drawing control without more dependencies.
- Qwt: Qt control for users and technology applications.
- QwtPlot3D: A feature-rich C++ programming library based on Qt/OpenGL, essentially providing a group of 3D controls.
- RmlUi: Evolved HTML/CSS user interface library, branch of libRocket.
- Sciter: Sciter is an embeddable HTML/CSS/scripting language engine designed for use in the UI layer of modern desktop applications.
- wxWidgets C++ library, which allows developers to use a code base to create applications for widows, Mac OS X, Linux and other platforms.
- Yue: Create a library for native cross-platform GUI applications.
Graphics
- assimp: The open asset import library (assimp) is a cross-platform 3D model import library designed to provide a common API for different 3D asset file formats.
- bgfx: Cross-platform rendering library.
- Blend2D: A 2D vector graphics engine powered by the JIT compiler.
- bs::framework: A modern C++14 library for real-time graphics application development.
- Cairo: A 2D graphics library that supports multiple output devices.
- C-Turtle: A C++11 turtle graphics library that acts as a Clmg wrapper, with only header files.
- Diligent Engine: A modern, cross-platform, low-level 3D graphics library.
- DirectXTK: A collection of help classes used to write DirectX 11.x code in C++.
- GLFW: Simple, cross-platform OpenGL processing library.
- Herebedragons: Basic 3D scenes implemented using various engines, frameworks, or APIs.
- Horde3D A small 3D rendering and animation engine.
- Ion: A small and efficient collection of libraries for building cross-platform client or server applications using 3D graphics.
- Irrlicht: A high-performance real-time 3D engine written in C++.
- libigl: Simple C++ geometry processing library.
- LLGL: Low Level Graphics Library (LLGL) is a thin layer of abstraction for modern graphics APIs.
- magnum: Lightweight and modular C++ 11/C++ 14 graphics middleware for gaming and data visualization.
- NanoVG: Anti-aliased 2D vector graphics library on top of OpenGL for UI and visualization.
- Ogre 3D: A scene-oriented, real-time, flexible 3D rendering engine (not a game engine) written in C++.
- OpenSceneGraph: OpenSceneGraph toolkit with high performance.
- OpenSubdiv: Pixar's library for evaluating and rendering segmented surfaces on CPU and GPU.
- OpenVDB: A library and tool for storing, editing, and rendering volume databases.
- Panda3D: A framework for 3D rendering and game development, written in Python and C++.
- Partio: A library for processing particle data, supporting most common file forms.
- Skia A complete 2D graphics library for drawing text, graphics and images.
- TinySpline: Small but powerful ANSI C library for difference, transformation and querying arbitrary NURBS, B-spline functions, and Besel curves.
- urho3d cross-platform rendering and game engine.
- Yocto/GL: A miniature C++ library based on physical graphics for data-driven.
Image processing
- Boost.GIL: Universal Image Library.
- CImg: A small open source C++ toolkit for image processing.
- CxImage: An image processing and conversion library for loading, saving, displaying and converting. The image formats that can be processed include BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX, TGA, WMF, WBMP, JBG, J2K.
- Dlib: Modern C++11 machine learning, computer vision, numerical optimization and deep learning toolkit.
- FreeImage: Open source library that supports common image formats and other formats required for multimedia applications now.
- GD: GD graphics library, famous for graphics loading/operating and thumbnail generation in PHP.
- DCMTK: DICOM toolkit.
- GDCM: Grassroots DICOM library.
- ITK: A cross-platform open source image analysis system.
- Leptonica: Leptonica is an open source library containing software, which is widely used in image processing and graphics analysis applications.
- libfacedetection: An open source library for face detection in images, whose face detection speed can reach 1500FPS.
- libjpeg-turbo: A JPEG image codec that uses SIMD instructions to accelerate baseline JPEG encoding and decoding.
- libvips: A fast image processing library with low memory requirements.
- Magick++: ImageMagick program C++ interface.
- MagickWnd: ImageMagick program C++ interface.
- OpenCV: Open source computer vision library.
- OpenEXR: A cross-platform library with high dynamic range imaging.
- OpenImageIO: Powerful image and texture processing library that supports a variety of common lossy and RAW formats.
- Simd: C++ image processing library using SIMD: SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX-512, VMX (Altivec) and VSX (Power7), NEON for ARM.
- stb-image: Image loading library for STB single header files.
- tesseract-ocr: OCR engine.
- TinyEXIF: A micro ISO-compatible C++ EXIF and XMP parsing library for JPEG.
- Video++: C++ 14 high-performance video and image processing library.
- VIGRA: General C++ computer vision library for image analysis.
- VTK: An open source free software system for 3D computer graphics, image processing and visualization.
Internationalization
- gettext: GNU `gettext'.
- IBM ICU: Provides C, C++ and Java libraries supported by Unicode and globalization.
- libiconv: A library for encoding conversion between different character encodings.
- utf8.h: utf8 string function for single header files in C and C++.
- utf8proc: A clean C library for processing UTF-8 Unicode data.
Inter-process communication
- Apache Thrift: Efficient cross-language IPC/RPC, which can run between C++, Java, Python, PHP, C# and many other languages. Originally developed by Facebook.
- Cap'n Proto: Fast data exchange format and feature-based RPC system.
- eCAL: Publish/Subscribe, Client/Server, C++/Python/C#, various message protocols (protobuf, capnproto..).
- gRPC: High-performance, open source, universal RPC framework.
- Ice: A comprehensive RPC framework that supports C++, C#, Java, JavaScript, Python, etc.
- libjson-rpc-cpp: JSON-RPC framework for C++ servers and clients.
- nanomsg: Simple and high-performance implementations of several "scalable protocols".
- nng: The next generation of nanomsg, a lightweight, proxyless message delivery library.
- rpclib: modern C++ msgpack-RPC server and client library.
- simple-rpc-cpp: A simple RPC encapsulation generator for C/C++ functions.
- WAMP: Provides RPC and publish/subscribe messaging modes. (A variety of implementations, various languages)
- xmlrpc-c: A lightweight RPC library based on XML and HTTP.
Json
- Boost.PropertyTree: Property tree parser/generator, can be used to parse XML/JSON/INI/Info files.
- cJSON: ANSI C's ultra-lightweight JSON parser.
- frozen: Json parsing generator for C/C++.
- Jansson: A C library for encoding, decoding and processing Json data.
- jbson: A library that builds and iterates over BSON data and Json documents in C++14.
- JeayeSON: A very sound C++ JSON library that contains only header files.
- Jsmn: A minimalist JSON parser in C language.
- json: JSON for modern C++.
- JSON++: C++'s JSON parser.
- json.h: A simple single header/single source file solution for parsing JSON in C and C++.
- json-c: JSON implementation in C.
- jsoncons: JSON using JSONPointer, JSONPatch, JSONPath and JMESPath and C++ libraries similar to JSON binary format, only header files.
- JsonCpp: A C++ library that can interact with JSON.
- json-parser: A JSON parser written in portable ANSI C, which consumes very little memory.
- json11: A mini C++11 JSON library.
- json-voorhees: JSON library for C++. Supports C++11, dependency-free, fast and developer-friendly.
- jute: Very simple C++ JSON parser.
- ibjson: JSON parsing and printing library in C language, easy to integrate with any model. .
- libjson: A lightweight JSON library.
- LIBUCL: General configuration library parser.
- parson: A lightweight JSON library written in C.
- PicoJSON: JSON parsing and serialization in C++, only the header files are included.
- qt-json: A simple class for mutual parsing between JSON data and QVariant levels.
- QJson: A Qt-based library that maps JSON data to a QVariant object.
- RapidJSON: A fast JSON parsing generator for C++, including two styles of APIs: SAX and DOM.
- sajson: A lightweight, high-performance JSON parser for C++11.
- simdjson: Extremely fast JSON library, can parse JSON at gigabytes per second.
- taoJSON: Zero-dependency C++ JSON library, only contains header files.
- ujson: µjson is a small, C++11, UTF-8, and JSON library.
- YAJL: Fast stream JSON parsing library in C language.
log
- Blackhole: A property-based logging framework designed to be fast, modular and highly customizable.
- Boost.Log: 设计非常模块化,并且具有扩展性。
- Easylogging++: 适用于C++ 11(或更高版本)应用程序的超轻量级、高性能的日志库。
- G3log: 具有动态接收模块的异步记录器。
- glog: Google日志模块的C++实现。
- Log4cpp: C++类库,用于灵活地添加日志到文件,系统日志,IDSA和其他地方。
- log4cplus: 易于使用的C++日志API,可提供对日志管理和配置的线程安全、灵活且任意粒度的控制。
- loguru: 轻量级的C++日志库。
- plog: C++可移植且简单的日志,少于1000行代码。
- reckless: C++低延迟、高吞吐量、异步的日志库。
- spdlog: 超级快的C++日志库,只包含头文件。
- templog: 小型、轻量级的C++ 库,可以添加日志到你的C++应用程序中。
- P7Baical: 开源、跨平台的库,用于在最小限度使用CPU和内存的情况下高速发送遥测和跟踪数据。
- Quill: 异步、跨平台、低时延的日志库。
Machine Learning
- Caffe: 快速的神经网络框架。
- CCV: 基于C /缓存/核心的计算机视觉库,现代计算机视觉库。
- darknet: 用C和CUDA编写的开源神经网络框架。
- Dlib: 现代C++ 11的机器学习、计算机视觉、数值优化和深度学习的工具包。
- Fido: 用于嵌入式电子和机器人技术的高度模块化的C++机器学习库。
- flashlight: 来自Facebook AI研究中心的快速、灵活的机器学习库,其完全用C++编写,基于ArrayFire张量库。
- libsvm: 支持向量机的简单、易用、高效的库。
- MeTA: 现代C++的数据科学工具包。
- Minerva: 快速、灵活的深度学习系统。
- mlpack: 可扩展的C++机器学习库。
- OpenCV: 开源计算机视觉库。
- Recommender: 使用协同过滤进行产品推荐/建议的C语言库。
- RNNLIB: RNNLIB是用于序列学习问题的递归神经网络库。
- SHOGUN: Shogun 机器学习工具。
- sofia-ml: 用于机器学习的快速增量算法套件。
- VLFeat: VLFeat开源库实现了流行的计算机视觉算法,这些算法专门用于图像理解以及局部特征提取和匹配。
- xgboost: 用于Python、R、Java、Scala、C++等的可扩展、便携式和分布式梯度增强(GBDT,GBRT或GBM)的库。在单机、Hadoop、Spark、Flink和DataFlow上运行。
math
- Apophenia: 用于统计和科学计算的C库。
- Armadillo: 用于线性代数和科学计算的快速C++库。
- autodiff: 用于自动微分的现代、快速且富有表现力的C++库。
- blaze: 高性能的C++数学库,用于密集和稀疏算法。
- Boost.Multiprecision: 在C++中提供更高范围/精度的整数、有理数和浮点数类型,只包含头文件或者在GMP / MPFR / LibTomMath后端。
- ceres-solver: 来自谷歌的C++库,用于建模和解决大型复杂非线性最小平方问题。
- CGAL: 高效,可靠的几何算法集合。
- cml: 用于游戏和图形的免费C++数学库。
- Dlib: 现代C++11的机器学习、计算机视觉、数值优化和深度学习工具包。
- Eigen: 高级C++模板头文件库,包括线性代数,矩阵,向量操作,数值解决和其他相关的算法。
- ExprTK: C++数学表达式工具包库(ExprTk)是一个易于使用、易于集成且非常高效的运行时数学表达式解析器和评估引擎。
- Geometric Tools: 用于数学、图形、图像分析和物理学领域计算的C++库。
- GLM: 只包含头文件的C++数学库,可与OpenGL的GLSL数学匹配并互操作。
- GMTL: 数学图形模板库是一组广泛实现基本图形的工具。
- GMP: 用于个高精度计算的C/C++库,处理有符号整数,有理数和浮点数。
- Klein: 快速、SIMD优化的C++ 17几何代数库,用于点、线和平面投影、相交、连接、刚体运动等。
- linalg.h: C++的单头文件、公共域、短向量数学库。
- MIRACL: 多精度整数和有理数算法加密库。
- muparser: muParser是用C++编写的可扩展、高性能的数学表达式解析库。
- LibTomMath: 完全用C编写的免费、开源、可移植的数论多精度整数库。
- linmath.h: 精益线性数学库,主要用于图形编程。
- lp_solve: 用于制定和解决线性编程问题的库。
- OpenBLAS: 基于GotoBLAS2 1.13 BSD版本的优化BLAS库。
- QuantLibv: 用于计量金融的免费/开源库。
- StatsLib: 统计分布函数的C++库,只包含头文件。
- SymEngine: 快速符号处理库,用C++重写了SymPy的核心。
- TinyExpr: 用于解析和评估字符串中的数学表达式的C库。
- Vc: C++的SIMD矢量类。
- Versor: (快速的)几何代数的通用C++库,包括欧几里得、投影,保角、时空等。
- Wykobi: 高效、健壮且易于使用的C++库,面向C++ 2D / 3D的计算几何例程。
- xtensor: 受NumPy语法启发的C++ 14库,用于使用多维数组表达式进行数值分析。
- universal: 只包含头文件的C++ 14库,实现任意假定算数。假定数值系统是一个锥形浮点,比IEEE浮点更有效。假定数使可复现的计算科学成为可能。
内存分配
- Boehm GC: C和C++的保守的垃圾回收器。
- C Smart Pointers: (GNU)C编程语言的智能指针。
- Hoard: 快速、可扩展和节约内存的Malloc,支持Linux、Windows和Mac。
- jemalloc: 通用的malloc(3)实现,强调避免存储碎片和可扩展的并发支持。
- memory: 兼容STL的C++内存分配器库。
- memory-allocators: 自定义内存分配器,可提高动态内存分配的性能。
- mimalloc: 具有出色性能的紧凑型通用分配器。
- tgc: 用~500 LOC编写的C语言微型垃圾回收器。
multimedia
- GStreamer: 构建媒体处理组件图形的库。
- libass: ASS / SSA字幕格式的便携式字幕渲染器。
- libass: 处理多媒体内容(例如音频、视频、字幕和相关元数据)的库和工具的集合。
- LIVE555 Streaming Media: 使用开放标准协议(RTP/RTCP, RTSP, SIP) 的多媒体流库。
- libVLC: libVLC (VLC SDK)媒体框架。
- MediaInfoLib: 用于视频和音频文件中最相关的技术和标签数据的方便统一显示。
- QtAv: 基于Qt和FFmpeg的多媒体播放框架,能够帮助你轻而易举地编写出一个播放器。
- SDL: 简单直控媒体层。
- SFML: 快速,简单的多媒体库。
- TagLib: 用于读取和编辑几种流行音频格式的元数据的库。
network
- ACE: C++面向对象网络编程工具包。
- Boost.Asio: 用于网络和底层I/O编程的跨平台的C++库。
- Boost.Beast: 在C++ 11中基于Boost.Asio构建的HTTP和WebSocket。
- Breep: 基于事件的高级C++ 14点对点库。
- C++ REST SDK: C++ REST SDK(以前称为Casablanca)。
- Restbed: C++ 11异步RESTful框架。
- Restinio: 只有头文件的C++ 14库,为您提供嵌入式HTTP / Websocket服务器。
- c-ares: 用于异步DNS请求的C库。
- cpp-httplib: 单文件的C++ 11 HTTP / HTTPS服务器库,只包含头文件。
- cpp-netlib: 高级网络编程的开源库集合。
- cpp-netlib/uri: C++的URI解析器/生成器库,与RFC 3986和RFC 3987兼容。
- cpr: 现代C++ HTTP请求库,具有简单但功能强大的接口。模仿Python Requests模块。
- curlcpp: CURL(libcurl)的面向对象C++封装器。
- DPDK: 用于快速打包处理的数据平面开发工具、库和驱动程序。
- Dyad.c: C的异步网络。
- ENet: 可靠的UDP网络库。
- evpp: 具有TCP / UDP / HTTP协议的C++高性能网络。
- H2O: 优化的HTTP服务器,支持HTTP / 1.x和HTTP / 2。它也可以用作库。
- HTTP Parser: C的http请求/响应解析器。
- KCP: 快速、可靠的ARQ协议,可帮助应用程序减少网络延迟。
- libcurl: 多协议文件传输库。
- libhttpserver: 用于创建嵌入式Rest HTTP服务器(以及更多)的C++库。
- Libmicrohttpd: GNU libmicrohttpd是一个小型C库,可以轻松地将HTTP服务器作为另一个应用程序的一部分运行。
- libpcap: 用于网络流量捕获的可移植C / C++库。
- libquic: 从Chromium的QUIC实现中提取的QUIC协议库。
- librdkafka: 用于C和C++的Apache Kafka客户端库。
- libwebsockets: 提供客户端和服务器库的轻量级纯C WebSocket实现。
- lwIP: 轻量级TCP / IP堆栈。
- Mongoose :非常轻量级的网络服务器。
- MQTT-C: 适用于嵌入式系统和类PC机的便携式MQTT C客户端。
- mTCP: 用于多核系统的高度可扩展的用户级TCP堆栈。
- Muduo: 用于Linux多线程服务器的C++非阻塞网络库。
- nghttp2: HTTP / 2 C库。
- Onion: C语言HTTP服务器库,其设计为轻量级,易使用。
- PF_RING™: 高速打包处理框架。
- PicoHTTPParser: 微小、原始、快速的HTTP请求/响应解析器。
- POCO: 用于构建网络和基于互联网应用程序的C++类库,可以运行在桌面,服务器,移动和嵌入式系统。
- Proxygen: Facebook的C++ HTTP库集合,包括易于使用的HTTP服务器。
- RakNet: 为游戏开发人员提供的跨平台的开源C++网络引擎。
- restclient-cpp: 用于C++的简单REST客户端。它包装libcurl用于HTTP请求。
- Seasocks: 具有WebSockets支持的简单、小型的C++嵌入式Web服务器。
- Silicon: 高性能、面向中间件的C++ 14 http Web框架。
- tlse: 单个C文件的TLS 1.2 / 1.3实现,使用tomcrypt作为加密库。
- Tufão: 基于Qt构建的C++异步Web框架。
- uriparser: 严格符合RFC 3986的URI解析和处理库。
- uWebSockets: µWS是最轻量级、高效和可伸缩的WebSocket和HTTP服务器的实现之一。
- WAFer: 基于C语言的超轻型软件平台,用于可扩展的服务器端和网络应用。为C程序员考虑了node.js。
- Wangle: 客户端/服务器应用程序框架,用于构建异步的、事件驱动的现代C++服务。
- wdt: 可嵌入式库(和命令行工具),旨在通过多个TCP路径尽可能快地在2个系统之间传输数据。
- WebSocket++: 基于C++/Boost Aiso的websocket 客户端/服务器库。
- PcapPlusPlus: 跨平台的C++网络嗅探以及数据包解析和构建的框架。
- ZeroMQ: 高速,模块化的异步通信库。
PDF
解析和处理PDF文档的库。
- libharu: 免费、跨平台、开源的软件库,用于生成PDF。
- litePDF: 创建和编辑PDF文档的库,它通过设备上下文使用GDI功能来绘制页面内容。
- MuPDF: 轻量级的PDF、XPS和电子书查看器。
- PoDoFo: 使用PDF文件格式的库。
- Poppler: 基于xpdf-3.0代码库的开源、多后端的PDF渲染库。
- Xpdf: Xpdf是一款免费的PDF查看器和工具包,包括文本提取器、图像转换器、HTML转换器等。
- DynaPDF: 易于使用的PDF生成库。
physics
动力学仿真引擎
- Box2D: 2D的游戏物理引擎。
- Bullet: 3D的游戏物理引擎。
- Chipmunk: 快速、轻量级的2D游戏物理库。
- LiquidFun: 2D的游戏物理引擎。
- Newton Dynamics: 用于物理环境实时仿真的集成解决方案。
- ODE: 开放动力学引擎-开源,高性能库,模拟刚体动力学。
- ofxBox2d: Box2D开源框架包装器。
- PhysX: Nvidia开发的开源的实时物理引擎中间件SDK,作为Nvidia GameWorks软件套件的一部分。
- Project Chrono: 开源的多物理场仿真引擎。
- Quantum++: 现代的C++ 11量子计算库。
- Simbody: 高性能C++多体动力学/物理库,模拟关节生物力学和机械系统,像车辆,机器人和人体骨骼。
- SOFA: SOFA是一个针对实时仿真的开源框架,其着重于医学仿真。
Mapping
- Better Enums: 映射的枚举类型(字符串、迭代)。单个头文件。
- clReflect: 使用clang的C++映射。
- CPFG: 用于反射、回调和脚本绑定的C++ 03库。
- CPP-Reflection: 使用clang的C++映射。
- Magic Enum: 只包含头文件的的C++ 17库,为枚举类型(字符串、迭代)提供静态映射,可与任何枚举类型一起使用,无需任何宏或样板代码。
- magic_get: 类似std: : tuple的方法,用于用户定义类型,无需任何宏或样板代码。
- meta: C++的非侵入性且无宏的运行时映射系统,只包含头文件。
- Nameof: 只包含头文件的的C++ 17库,提供名称宏和函数以获取变量、类型、函数、宏和枚举的简单名称。
- Ponder: C++11的映射库。
- RTTR: C++11的映射库。
- visit_struct: C++中用于结构域映射的微型库。
正则表达式
- CppVerbalExpressions: C++正则表达式专家。
- CTRE: 编译时PCRE(几乎)兼容的正则表达式匹配器。
- Hyperscan: Hyperscan是Intel的高性能、多种正则表达式匹配库,提供大量正则表达式(多达数万个)的同时匹配,通常在DPI库堆栈中使用。
- Oniguruma: 现代且灵活的正则表达式库,支持多种字符编码。
- PCRE: 受Perl中正则表达式功能启发的正则表达式C库。
- PIRE: Yandex的Perl不兼容正则表达式库,可以非常快(超过400 MB / s)。
- RE2: 使用自动机理论、通过有限状态机进行的正则表达式软件库。
- SLRE: 适用于C / C++的超轻正则表达式引擎。
- sregex: 基于NFA / DFA的Perl兼容的正则表达式引擎库,不可回溯,可与大型数据流进行匹配。
Robotics
- MOOS-IvP: 一组开源C++模块,提供机器人平台的自主权,尤其是自主的海洋车辆。
- MRPT: 移动机器人编程工具包。
- PCL: 点云库是一个独立的,大规模的开放项目,用于2D/3D图像和点云处理。
- Robotics Library (RL): 一个独立的C++库,包括机器人动力学,运动规划和控制。
- RobWork: 一组C++库的集合,用于机器人系统的仿真和控制。
- ROS: 机器人操作系统,提供了一些库和工具帮助软件开发人员创建机器人应用程序。
科学计算
- AMGCL: 只包含头文件的C++库,用于解决具有代数多重网格的大型稀疏线性系统。
- FFTW: 用一维或者多维计算DFT的C语言库。
- GSL: GNU科学库。
- TileDB: 快速密集和稀疏多维数组的DBMS。
- Trilinos: 高性能的PDE解算器。
- Torch: 科学的计算框架,广泛支持将GPU放在首位的机器学习算法。
script
- AngelScript: AngelScript是一种面向游戏的解释/编译脚本语言。
- Boost.Python: 可实现C++和Python编程语言之间的无缝互操作性的C++库。
- cppimport: 直接从Python导入C++文件!
- CppSharp: 用于将C / C++ API融合到高级语言中的工具和库。
- ChaiScript: 用于C++的易于使用的嵌入式脚本语言。
- ctypes.sh: bash的外部函数接口。
- Cython: Cython是用于Python编程语言和扩展的Cython编程语言(基于Pyrex)的优化静态编译器。它使得为Python编写C扩展就像Python本身一样容易。
- djinni: 生成跨语言类型声明和接口绑定的工具。
- Duktape: 具有紧凑脚本的嵌入式Javascript引擎。
- JavaCpp: Java和本机C++之间缺少的桥梁。
- libffi: 可移植的外部功能接口库。
- Lua: 用于配置文件和基本应用程序脚本的小型快速脚本引擎。
- LuaBridge: 轻量级、无依赖的库,用于将Lua绑定到C++。
- luacxx: 用于创建Lua绑定的C++ 11 API。
- nbind: 神奇的头文件,使您的C++库可从JavaScript进行访问。
- PHP-CPP: 使用C++构建PHP扩展的库。
- pybind11: C++ 11和Python之间的无缝可操作性。
- SIP: 用于Python v2和v3的C或C++绑定生成器。
- sol2: 具有高级功能和一流性能的C++ <-> Lua API封装器。
- SWIG: 一个可以让你的C++代码链接到JavaScript,Perl,PHP,Python,Tcl和Ruby的包装器/接口生成器。
- V7: 嵌入式的JavaScript 引擎。
- V8: 谷歌的快速JavaScript引擎,可以被嵌入到任何C++应用程序中。
- ChakraCore: Microsoft的JavaScript引擎,可以嵌入到nodejs中。
Serialization
- Bitsery: 只包含头文件的C++二进制序列化库。
- Bond: 用于处理模式化数据的开源、跨平台框架。
- Boost.Serialization: Boost序列化库。
- Cap'n Proto: 快速数据交换格式和RPC系统。
- cereal: C++11 序列化库。
- cppcodec: 只包含头文件的C++ 11库,具有一致、灵活的API来编码/解码base64,base32和hex。
- FlatBuffers: 内存高效的序列化库。
- MessagePack: C/C++的高效二进制序列化库,例如JSON。
- mrpt-serialization: 已版本控制的二进制或文本格式的序列化。
- nanopb: ANSI C中的小型代码大小的协议缓冲区实现。
- protobuf: 协议缓冲,谷歌的数据交换格式。
- protobuf-c: C语言的协议缓冲实现。
- SimpleBinaryEncoding: 用于低延迟应用程序的对二进制格式的应用程序信息的编码和解码。
- upb: C中的小型静态库实现。
- YAS: 非常快的序列化库,支持二进制/文本/ JSON格式。
Sort
- pdqsort: 破坏模式的快速排序。
- Timsort: 模板化的稳定排序功能,其性能优于基于快速排序的算法(包括std: : sort),用于反向或半排序数据。
video
- libvpx: VP8/VP9编码解码SDK。
- FFmpeg: 一个完整的,跨平台的解决方案,用于记录,转换视频和音频流。
- libde265: 开放的h.265视频编解码器的实现。
- x265: 开放的H.265视频编解码器实现。
- OpenH264: 开源H.364 编解码器。
- Theora: 免费开源的视频压缩格式。
- Vireo: Twitter的轻量级、多功能的视频处理库。
虚拟机
- CarpVM: C中有趣的VM,让我们一起来看看这个。
- MicroPython: 旨在实现单片机上Python3.x的实现。
- TinyVM: 用纯粹的ANSI C编写的小型,快速,轻量级的虚拟机。
Web应用框架
- Civetweb: 提供易于使用,强大的,C/C++嵌入式Web服务器,带有可选的CGI,SSL和Lua支持。
- C++ REST SDK: 使用现代异步C++ API设计、以本机代码进行基于云的客户端-服务器通信的Microsoft项目。
- CppCMS: 免费高性能的Web开发框架(不是CMS).。
- Crow: 一个C++微型web框架(灵感来自于Python Flask)。
- Cutelyst: 在Qt上构建的C++ Web框架,使用Catalyst(Perl)框架的简单方法。
- Drogon: 基于C++ 14/17的高性能HTTP应用程序框架。
- facil.io: 事件型、高性能的C Web框架,支持HTTP、WebSocket、SSE等。
- Kore: 使用C语言开发的用于web应用程序的超快速和灵活的web服务器/框架。
- libOnion: 轻量级的库,帮助你使用C编程语言创建web服务器。
- lwan: 实验性、可扩展的高性能HTTP服务器。
- oat++: 轻量、零依赖的框架,可创建高性能的Web服务。
- Pistache: Pistache是一个用纯C++ 11编写的C++ REST框架,没有外部依赖性。
- QDjango: 使用C++编写的,基于Qt库的web框架,试图效仿Django API,因此得此名。
- TreeFrog Framework: 基于C++和Qt的高速、全栈的Web应用程序框架,支持HTTP和WebSocket协议(带有O / R映射)。
- Wt: 开发Web应用的C++库。
XML
XML就是个垃圾,xml的解析很烦人,对于计算机它也是个灾难。这种糟糕的东西完全没有存在的理由了。-Linus Torvalds
- Boost.PropertyTree: 属性树解析器/生成器,可用于解析XML / JSON / INI / Info文件。
- Expat: 用C语言编写的xml解析库。
- Libxml2: Gnome的xml C解析器和工具包。
- libxml++: C++的xml解析器。
- Mini-XML: 用ANSI C编写的小型XML解析库。
- PugiXML: 用于C++的,支持XPath的轻量级,简单快速的XML解析器。
- RapidXml: 试图创建最快速的XML解析器,同时保持易用性,可移植性和合理的W3C兼容性。
- TinyXML: 简单小型的C++XML解析器,可以很容易地集成到其它项目中。
- TinyXML2: 简单快速的C++CML解析器,可以很容易集成到其它项目中。
- TinyXML++: TinyXML的一个全新的接口,使用了C++的许多许多优势,模板,异常和更好的异常处理。
- Xerces-C++: 用可移植的C++的子集编写的XML验证解析器。
多项混杂
一些有用的库或者工具,但是不适合上面的分类,或者还没有分类。
- access_profiler: 用于计算对c ++程序中成员变量的访问的工具。
- American fuzzy lop: aka afl-fuzz-疯狂的模糊测试工具,可在给定时间和最少示例输入的情况下自动发现错误。
- Better String: C字符串库的替代方法,它功能更强大,并且没有缓冲区溢出超限问题。还包括C++封装器。
- Boost.Signals: 托管信号和插槽系统的实现。
- CPPItertools: 受Python内建函数和itertools库启发的基于范围的循环附加组件。
- DynaMix: 允许您在运行时组成和修改对象的库。
- {fmt}: 小型、安全、快速的C++格式化库。
- FastFormat: 受log4j和Pantheios启发的快速、安全的C++格式化。
- C++ Format: C++的小型,安全和快速格式化库。
- casacore: 从aips++ 派生的一系列C++核心库。
- QtVerbalExpressions: 该Qt库基于C++ VerbalExpressions库。
- cxx-prettyprint: 用于C++容器的打印库。
- icecream-cpp: 用于调试目的的小型打印库。
- gcc-poison: 帮助开发人员禁止应用程序中的不安全的C/C++函数的简单的头文件。
- Kangaru: 用于C++ 11和C++ 14的依赖注入容器。
- Klib: 通用算法和数据结构的小型、轻量级实现。
- libsigc++: 用于标准C++的类型安全的回调系统。
- googlemock: 编写和使用C++模拟类的库。
- HTTP Parser: C的http请求/响应解析器。
- libcpuid: 用于x86 CPU检测盒特征提取的小型C库。
- libevil: 许可证管理器
- libnih: C函数和结构的轻量级库。
- libusb: 允许移动访问USB设备的通用USB库。
- Mach7: C++的模式匹配库。
- mio: 用于内存映射文件IO的跨平台C++ 11库,只包含头文件。
- PEGTL: 解析表达语法模板库。
- PCRE: 正则表达式C库,灵感来自于Perl中正则表达式的功能。
- Remote Call Framework: C++的进程间通信框架。
- Scintilla: 开源的代码编辑控件。
- Serial Communication Library: C++语言编写的跨平台,串口库。
- SDS: C的简单动态字符串库。
- semver.c: semver解析器,在ANSI C中呈现。
- Serial Communication Library: 跨平台,用C++编写的串行端口库。
- sigslot: C++信号/插槽库。
- SimpleSignal: 高性能C++ 11信号。
- Stage: 移动机器人模拟器。
- stdman: 格式化的C++ 11/14 stdlib手册页(来自cppreference)。
- stb: 一系列用于C / C++的单文件库。
- StrTk: 由高性能字符串处理例程组成的C++库。
- Tulip Indicators: 超过100种财务技术分析指标的C库。
- ub-canaries: 一组C / C++程序,它们试图使编译器开发未定义的行为。
- value-category-cheatsheet: 用于lvalue、rvalue等的PDF快捷键管理。
- VarTypes: C++/Qt4功能丰富,面向对象的管理变量的框架。
- ZBar: '条形码扫描器'库,可以扫描照片,图片和视频流中的条形码,并返回结果。
- ZXing: 用Java实现的开源、多格式1D / 2D条码图像处理库,带有其他语言的端口。
- pprint: 适用于现代C++的Pretty Printer。
software
用于创建开发环境的软件
编译器
C/C++编译器列表
- 8cc: 小型C编译器。
- c: 一次编译并执行C“脚本”!
- Clang: LLVM的C编译器,支持C++ 11/14 / 1z C11,由LLVM团队开发。
- GCC: GNU编译器集合,支持C++ 11/14 / 1z C11和OpenMP。
- PCC: 非常老的C编译器,支持C99。
- Intel C++ Compiler: 由英特尔公司开发。
- LLVM: 模块化和可重用编译器和工具链技术的集合。
- Microsoft Visual C++: MSVC,由微软公司开发。
- Open WatCom: Watcom,C,C++和Fortran交叉编译器和工具。
- Oracle Solaris Studio: 适用于SPARC和x86的C、C++和Fortran编译器,支持C++ 11 ,在Linux和Solaris上可用。
- TCC: 轻量级的C语言编译器。
在线编译器
在线C/C++编译器列表
- codepad: 在线编译器/解释器,一个简单的协作工具
- coliru: 在线编译器/ shell,支持各种C++编译器。
- Compiler Explorer: 具有编译输出的交互式编译器。
- CompileOnline: 在Linux上在线编译和执行C++。
- Ideone: 在线编译器和调试工具,可编译源代码并以60多种编程语言在线执行。
- repl.it: 针对教育者、学习者和开发人员的功能强大而简单的工具和平台。
- Rextester: 在线编译器,提供几个编译器(Clang,GCC,MSVC)和几个编辑器。
- Try It Online: TIO是一系列在线解释器,可用于越来越多的实用和休闲的编程语言。
- Wandbox: 具有Boost的在线Clang / GCC编译器。
- paiza.io: 具有多个文件支持功能、Github(gist)集成和协作编辑的在线C / C++编译器。
debugger
C/C++调试器列表
- Comparison of debuggers: 来自维基百科的调试器列表。
- GDB: GNU调试器。
- LLDB: LLDB调试器。
- Metashell: 交互式模板元程序设计,其中包括MDB metadebugger。
- Valgrind: 内存调试,内存泄露检测,性能分析工具。
- x64dbg: Windows的开源x64 / x32调试器。
集成开发环境
C/C++集成开发环境列表
- Anjuta DevStudio: GNOME IDE。
- AppCode: 构建与JetBrains' IntelliJ IDEA 平台上的用于Objective-C,C,C++,Java和Java开发的集成开发环境。
- Cevelop: 基于Eclipse CDT的跨平台C和C++ IDE,带有其他插件。
- CLion: 来自JetBrains的跨平台的C/C++的集成开发环境。
- Code::Blocks: 免费C,C++和Fortran的集成开发环境。
- CodeLite: 另一个跨平台的免费的C/C++集成开发环境。
- color_coded: 用于基于libclang的vim插件。
- Dev-C++: 可移植的C/C++/C++11集成开发环境。
- Eclipse CDT: 基于Eclipse平台的功能齐全的C和C++集成开发环境。
- Geany: 轻量级的快速,跨平台的集成开发环境。
- IBM VisualAge: 来自IBM的家庭计算机集成开发环境。
- Irony-mode: 由libclang驱动的用于Emacs的C/C++微模式。
- KDevelop: 免费开源集成开发环境。
- Microsoft Visual Studio: 来自微软的集成开发环境。
- Microsoft Visual Studio Code: Microsoft提供的开源IDE。
- NetBeans: 主要用于Java开发的的集成开发环境,也支持其他语言,尤其是PHP,C/C++和HTML5。
- Qt Creator: 跨平台的C++,Javascript和QML集成开发环境,也是Qt SDK的一部分。
- rtags: C/C++的客户端服务器索引,用于跟基于clang的emacs的集成。
- Xcode: 由苹果公司开发。
- YouCompleteMe: 一个用于Vim的根据你敲的代码快速模糊搜索并进行代码补全的引擎。
- cquery: 用于vscode,emacs,vim等的C++代码完成引擎。
构建系统
- Bazel: Google提供的多语言、快速且可扩展的构建系统。
- Bear: 用于为clang工具生成编译数据库的工具。
- Buck: 用Java编写的快速构建系统,可鼓励在多种平台和语言(包括在Facebook开发和使用的C++)上创建小型、可重用模块。
- clib: C语言的软件包管理器。
- Biicode: 基于文件的简单依赖管理器。
- CMake: 跨平台的免费开源软件用于管理软件使用独立编译的方法进行构建的过程。
- Cget: Cmake软件包检索。
- Conan: C / C++程序包管理器,开源的。
- CPM: 基于CMake和Git的C++包管理器。
- FASTBuild: 高性能,开源的构建系统,支持高度可扩展性的编译,缓冲和网络分布。
- Hunter: CMake驱动的C++跨平台软件包管理器。
- MesonBuild: 开源构建系统,它意味着不仅要非常快,而且更重要的是要尽可能地方便用户使用。
- Ninja: 专注于速度的小型构建系统。
- Scons: 使用Python scipt 配置的软件构建工具。
- Sconsolidator: 用于Eclipse CDT的Scons构建系统集成。
- Spack: 灵活的软件包管理器,支持多个版本、配置、平台和编译器。
- SW: 跨平台的C++(和其他语言)构建系统和程序包管理器,其中包含许多可用程序包。
- tundra: 高性能的代码构建系统,甚至对于非常大型的软件项目,也能提供最好的增量构建次数。
- tup: 基于文件的构建系统,用于后台监控变化的文件。
- Premake: 配置有Lua脚本的工具,可以在Windows、Mac OS X和Linux上为Visual Studio、GNU Make、Xcode、Code::Blocks等生成项目文件。
- Vcpkg: Windows,Linux和MacOS的C++库管理器。
- waf: 用于配置、编译和安装应用程序的基于Python的框架。
- XMake: 基于Lua的C / C++的跨平台构建实用程序。
静态代码分析
提高质量,减少瑕疵的代码分析工具列表
- Cppcheck: 静态C/C++代码分析工具
- CppDepend: 通过分析和可视化代码依赖关系,定义设计规则,进行影响分析以及比较不同版本的代码,简化了对复杂C / C++代码库的管理。
- cpplint: 遵循Google C++样式指南的C++样式检查器。
- PVS-Studio: 用C、C++和C#编写的在程序源代码中进行bug检测的工具。
- cpp-dependencies: 检查C++ #include依赖关系的工具(以.dot格式创建的依赖关系图)。
- include-what-you-use: 使用clang进行代码分析的工具,可以#include在C和C++文件中。
- Infer: 用于Java、C和Objective-C的静态分析器。
- OCLint: 用于C、C++和Objective-C的静态源代码分析工具,用于提高质量,减少瑕疵。
- Clang Static Analyzer: 查找C、C++和Objective-C程序bug的源代码分析工具。
- Linticator: Pc-/FlexeLint的Eclipse CDT集成。
- IKOS: 基于抽象解释理论的C / C++静态分析器。
- List of tools for static code analysis: 来自维基百科的静态代码分析工具列表。
编码样式工具
- Artistic Style: 格式化C / C++ / C#/ Obj-C / Java代码的工具。也称为astyle。
- ClangFormat: 格式化C / C++ / Obj-C代码的工具。
- Clang-Tidy: 基于Clang的C++ linter工具。
- EditorConfig: EditorConfig帮助在不同的编辑器和IDE之间维护一致的编码样式
- Uncrustify: 代码美化器。