C++ Library Ecosystem
Curated guides to the most impactful C++ libraries — from foundation layers (Boost, Abseil) to domain-specific tools (Eigen, ImGui, Asio), with integration recipes and real-world usage patterns.
Foundation Libraries
The original C++ extensions library. Many Boost libraries were standardized into C++11–23. Asio, Spirit, Filesystem, multiprecision, and 100+ more.
Google's C++ common library. string_view, Status, optional extras, flat_hash_map (faster than std::unordered_map), logging, flags.
Facebook's open-source C++ library. fbstring, F14 hash maps, ConcurrentHashMap, Future/Promise, io_uring wrappers.
Logging & Formatting
Fast, safe formatting library that inspired std::format. Zero-overhead, type-safe, 10× faster than printf, extensible with custom formatters.
Very fast C++ logging library built on top of fmt. Synchronous and async sinks, file rotation, pattern formatting.
JSON & Serialization
The most ergonomic JSON library for C++. Single header, STL-like API, JSON ↔ struct with minimal boilerplate. Moderate speed.
World's fastest JSON parser. SIMD-accelerated, parses gigabytes per second. Best for high-throughput data pipelines.
Google Protocol Buffers. Schema-first, cross-language binary serialization. The standard for gRPC services.
Zero-copy serialization — access serialized data without parsing. Perfect for game asset loading and IPC.
Math & Scientific
The de-facto C++ linear algebra library. Expression templates, SIMD-optimized, fixed and dynamic matrices, sparse solvers.
OpenGL Mathematics. GLSL-compatible vector/matrix types for graphics. Header-only, constexpr-friendly.
Networking & Async
Portable async I/O — the foundation of Boost.Asio and the C++ Networking TS. TCP/UDP/serial/timer, stackful & stackless coroutines.
The universal HTTP client. C API with C++ wrappers (cpr). Supports HTTP/1.1, HTTP/2, HTTP/3, TLS, cookies, proxies.
GUI & Graphics
Complete application framework. Widgets, QML, networking, SQL, serialization, multimedia. The standard for commercial C++ GUIs.
Immediate-mode GUI for tools and debug UIs. No layout engine, minimal state, integrates with any renderer (OpenGL, Vulkan, DX12).
Testing & Benchmarking
xUnit testing + gMock for C++. Most-used test framework in production C++ codebases.
Natural language testing — no fixtures, no inheritance. BDD-style SCENARIO/GIVEN/WHEN/THEN. GENERATE for data-driven tests.
Microbenchmarking framework from Google. DoNotOptimize, Setup/Teardown, custom counters, comparison tables.
Header-Only Gems
The reference implementation for C++20 Ranges. Pre-C++20 access to composable ranges, views, and actions.
tl::expected — a single-header implementation of std::expected (C++23) for use in C++17 projects.
Fastest C++ hash map. Robin Hood open addressing, much faster than std::unordered_map for most workloads.