Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. rpp

rpp

MITC++

A minimal Rust-inspired C++20 standard library replacement focused on fast compilation, debuggability, and explicit code.

GitHubGitHub
219 stars5 forks0 contributors

What is rpp?

rpp is a minimal Rust-inspired replacement for the C++ Standard Template Library (STL) built for C++20. It provides modern data structures, allocators, concurrency utilities, and metaprogramming tools while focusing on fast compilation, debuggability, and explicit code. The project aims to offer a cleaner, more performant alternative to traditional STL implementations.

Target Audience

C++ developers working on performance-critical applications, systems programming, or projects requiring modern C++20 features who are dissatisfied with traditional STL overhead or complexity.

Value Proposition

Developers choose rpp for its Rust-inspired safety and explicitness, significantly faster compilation times compared to standard STL, and built-in debugging support. Its modular design and focus on modern C++20 features make it a compelling alternative for new projects seeking a lean, high-performance foundation.

Overview

Minimal Rust-inspired C++20 STL replacement

Use Cases

Best For

  • Reducing compilation times in large C++ codebases
  • Building systems software with explicit memory management
  • Implementing Rust-like safety patterns in C++ projects
  • Developing high-performance applications with SIMD optimizations
  • Creating modular libraries with reflection and metaprogramming
  • Writing concurrent or asynchronous C++ code with modern primitives

Not Ideal For

  • Projects that must maintain compatibility with GCC or older compiler versions
  • Teams relying on third-party libraries tightly coupled to the standard STL
  • Applications requiring full C++ standard compliance for certification or interoperability
  • Small codebases where the integration effort outweighs the benefits of faster compilation

Pros & Cons

Pros

Fast Compilation

rpp is optimized to reduce build times compared to traditional STL, as emphasized in its goals and key features, making it ideal for large codebases with frequent compilations.

Rust-Inspired Safety

It provides types like Opt, Rc, and Arc that enforce explicit memory management and error handling, reducing hidden behavior and common C++ pitfalls as outlined in the philosophy.

Flexible Allocators

Offers multiple allocator types such as Mpool and region-based allocators, demonstrated in examples for efficient and customizable memory management.

Built-in Concurrency

Includes thread pools, async/await support, and synchronization primitives, enabling modern concurrent programming without external dependencies, as shown in the async and thread examples.

Cons

Limited Compiler Support

Only officially supports MSVC 19.39+ on Windows and Clang 17+ on Linux/macOS, excluding GCC and older compilers, which restricts portability and adoption in diverse environments.

Incomplete Async Features

The README lists several to-dos for async, such as scheduler priorities and io_uring support, indicating that the concurrency model is still under development and may lack maturity.

Risk of Instability

As a replacement library, it might introduce breaking changes or have bugs compared to the battle-tested standard STL, affecting long-term maintenance and reliability.

Frequently Asked Questions

Quick Stats

Stars219
Forks5
Contributors0
Open Issues1
Last commit1 year ago
CreatedSince 2023

Tags

#metaprogramming#simd#memory-allocators#c-plus-plus-20#rust-inspired#cmake#standard-library#concurrency#performance

Built With

C
Clang
c
c++20
M
MSVC
C
CMake

Included in

C/C++70.6k
Auto-fetched 18 hours ago

Related Projects

FollyFolly

An open-source C++ library developed and used at Facebook.

Stars30,468
Forks5,866
Last commit22 hours ago
abseil-cppabseil-cpp

Abseil Common Libraries (C++)

Stars18,004
Forks3,149
Last commit1 day ago
DLIBDLIB

A toolkit for making real world machine learning and data analysis applications in C++

Stars14,429
Forks3,447
Last commit2 days ago
Sogou WorkflowSogou Workflow

C++ Parallel Computing and Asynchronous Networking Framework

Stars14,405
Forks2,563
Last commit20 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub