A set of C++ platform abstraction libraries for macOS, Windows, and Linux, designed for fast compile times and minimal dependencies.
Sane C++ Libraries is a collection of platform abstraction libraries for C++ that provide cross-platform APIs for system-level tasks like file I/O, networking, threading, and memory management. It solves the problem of writing portable C++ code without relying on the C++ Standard Library, exceptions, or RTTI, resulting in faster compile times and smaller binaries.
C++ developers building cross-platform applications, system software, or embedded systems who need lightweight, high-performance libraries with minimal dependencies.
Developers choose Sane C++ Libraries for its strict no-allocations policy, single-file distribution, and avoidance of the C++ Standard Library, which leads to predictable performance, easy integration, and reduced binary bloat compared to traditional C++ libraries.
Platform Abstraction C++ Libraries
Provides unified APIs for file I/O, networking, threading, and processes across macOS, Windows, and Linux, as highlighted in the key features, reducing platform-specific code.
Excludes the C++ Standard Library, exceptions, and RTTI, leading to smaller binaries and reduced runtime overhead, which is a core principle stated in the README.
Designed for fast compile times with single-file libraries that minimize dependencies and compilation overhead, as emphasized in the principles section.
Enforces a no-allocations policy using user-provided buffers, ensuring deterministic performance without dynamic memory surprises, detailed in the No Allocations section.
Key libraries like HTTP are marked as draft (red) in the README, indicating they are incomplete and may lack stability or advanced features needed for production use.
Requires developers to adapt to manual memory management and error codes instead of exceptions, which can be non-intuitive for those accustomed to standard C++ practices.
As a niche project, it lacks the extensive documentation, tutorials, and third-party integrations found in established libraries like Boost, making troubleshooting harder.
An open-source C++ library developed and used at Facebook.
Abseil Common Libraries (C++)
A toolkit for making real world machine learning and data analysis applications in C++
C++ Parallel Computing and Asynchronous Networking Framework
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.