C++ modern-cpp

Open-source C++ projects categorized as modern-cpp

Top 23 C++ modern-cpp Projects

  1. modern-cpp-tutorial

    📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly | https://changkun.de/modern-cpp/

    Project mention: Modern C++ Tutorial: C++ 11/14/17/20 On the Fly | news.ycombinator.com | 2026-05-28
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. entt

    Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more

    Project mention: EnTT | news.ycombinator.com | 2026-05-10
  4. EA Standard Template Library

    EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.

  5. LeetCode-Solutions

    🏋️ Python / Modern C++ Solutions of All 3958 LeetCode Problems (Weekly Update)

  6. sol2

    Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:

    Project mention: C++: The Documentary Released Today | news.ycombinator.com | 2026-06-05

    Interesting, I don't find modern C++ verbose at all. 'auto', range-based for-loops and structured bindings did a great job at reducing the verbosity of C++98.

    On top of that, C++ allows to design very concise APIs. (One of my favorite examples is sol2: https://github.com/ThePhd/sol2).

    Library code involving templates, on the other hand, can be pretty complex and hard to read. Concepts and other C++20 features (like [[no_unique_address]]) are certainly an improvement, but only new projects with no backwards compatibility requirements can actually use them (unconditionally).

  7. Elements C++ GUI library

    Elements C++ GUI library

  8. immer

    Postmodern immutable and persistent data structures for C++ — value semantics at scale (by arximboldi)

    Project mention: Rox: A clarity-first language that enforces expliciticity (compiles to C++) | news.ycombinator.com | 2026-02-10

    I've seen some C++ libraries that implement persistent data structures like immer (https://github.com/arximboldi/immer) - but seems it requires the use of the Boehm GC (which is notorious to be slow, since it is a conservative GC and cannot exploit any of the specific semantics/runtime characteristics of the language you're making).

  9. sqlite_orm

    ❤️ SQLite ORM light header only library for modern C++

  10. nana

    a modern C++ GUI library

  11. cccl

    CUDA Core Compute Libraries

    Project mention: Delivering the Missing Building Blocks for Nvidia CUDA Kernel Fusion in Python | news.ycombinator.com | 2025-07-16

    There’s an extensive change-log supporting the CCCL 3.0 release on GitHub from 3 hours ago: https://github.com/NVIDIA/cccl/releases/tag/v3.0.0

  12. uvw

    Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!

  13. eos

    A lightweight 3D Morphable Face Model library in modern C++ (by patrikhuber)

  14. managarm

    Pragmatic microkernel-based OS with fully asynchronous I/O

    Project mention: The Linux Kernel Looks to "Bite the Bullet" in Enabling Microsoft C Extensions | news.ycombinator.com | 2025-11-10

    If it's about "prettier code" then I think a number one candidate would be making bitfields more viable for use. It could make driver code much cleaner and safer.

    Windows is only targeting little-endian systems which makes life easier (and in any case they trust MSVC to do the right thing) so Windows drivers make much use of them (just look at the driver samples on Microsoft's GitHub page.)

    Linux is a little afraid to rely on GCC/Clang doing the right thing and in any case bitfields are underpowered for a system which targets multiple endians. So Linux uses systems of macros instead for dealing with what Windows C uses bitfields. The usual pattern is a system of macros for shifting and masking. This is considerably uglier and easier to make a mess of. It would be a real improvement in quality-of-life if this were not so.

    You can also look at Managarm (which benefits from C++ here) for another approach to making this less fraught: https://github.com/managarm/managarm/blob/a698f585e14c0183df...

  15. butano

    Modern C++ high level GBA engine

    Project mention: ASCII characters are not pixels: a deep dive into ASCII rendering | news.ycombinator.com | 2026-01-17
  16. q

    C++ Library for Audio Digital Signal Processing (by cycfi)

  17. stdgpu

    stdgpu: Efficient STL-like Data Structures on the GPU

  18. RigelEngine

    A modern re-implementation of the classic DOS game Duke Nukem II

  19. cuda-api-wrappers

    Thin C++-flavored header-only wrappers for core CUDA APIs: Runtime, Driver, NVRTC, NVTX.

    Project mention: CUDA Ontology | news.ycombinator.com | 2025-11-20

    > CUDA Runtime: The runtime library (libcudart) that applications link against.

    That library is actually a rather poor idea. If you're writing a CUDA application, I strongly recommend avoiding the "runtime API". It provides partial access to the actual CUDA driver and its API, which is 'simpler' in the sense that you don't explicitly create "contexts", but:

    * It hides or limits a lot of the functionality.

    * Its actual behavior vis-a-vis contexts is not at all simple and is likely to make your life more difficult down the road.

    * It's not some clean interface that's much more convenient to use.

    So, either go with the driver, or consider my CUDA API wrappers library [1], which _does_ offer a clean, unified, modern (well, C++11'ish) RAII/CADRe interface. And it covers much more than the runtime API, to boot: JIT compilation of CUDA (nvrtc) and PTX (nvptx_compiler), profiling (nvtx), etc.

    [1] : https://github.com/eyalroz/cuda-api-wrappers/

  20. Mudlet

    ⚔️ A cross-platform, open source, and super fast MUD client with scripting in Lua

  21. liblava

    Modern and easy-to-use library for Vulkan

  22. cmkr

    Modern build system based on CMake and TOML.

    Project mention: I built a Cargo-like build tool for C/C++ | news.ycombinator.com | 2026-04-09
  23. csv2

    Fast CSV parser and writer for Modern C++

  24. HFSM2

    High-Performance Hierarchical Finite State Machine Framework

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ modern-cpp discussion

Log in or Post with

C++ modern-cpp related posts

  • Modern C++ Tutorial: C++ 11/14/17/20 On the Fly

    1 project | news.ycombinator.com | 28 May 2026
  • EnTT

    1 project | news.ycombinator.com | 10 May 2026
  • The 128-arm pattern dispatch problem and how we got from 11ns to 1.1ns

    1 project | dev.to | 3 May 2026
  • Rox: A clarity-first language that enforces expliciticity (compiles to C++)

    2 projects | news.ycombinator.com | 10 Feb 2026
  • Butano, a modern C++ high level GBA engine

    1 project | news.ycombinator.com | 7 Jan 2026
  • Declarative JSON Dispatch in Modern C++

    1 project | dev.to | 19 Dec 2025
  • Patternia - A zero-overhead pattern matching library for C++ with powerful features like generics and structural binding.

    1 project | dev.to | 15 Dec 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source modern-cpp projects in C++? This list will help you:

# Project Stars
1 modern-cpp-tutorial 25,430
2 entt 12,789
3 EA Standard Template Library 9,266
4 LeetCode-Solutions 5,861
5 sol2 5,059
6 Elements C++ GUI library 3,697
7 immer 2,855
8 sqlite_orm 2,666
9 nana 2,467
10 cccl 2,378
11 uvw 2,044
12 eos 1,974
13 managarm 1,927
14 butano 1,672
15 q 1,393
16 stdgpu 1,264
17 RigelEngine 983
18 cuda-api-wrappers 890
19 Mudlet 885
20 liblava 884
21 cmkr 620
22 csv2 619
23 HFSM2 614

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?