C++ modern-cpp

Open-source C++ projects categorized as modern-cpp | Edit details

Top 23 C++ modern-cpp Projects

  • GitHub repo modern-cpp-tutorial

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

    Project mention: Computer science student. Just figured out what I want to do with my degree. Hacking. | reddit.com/r/hacking | 2021-05-01

    Work in this order: (1) -> (2) --> (3) ---> (4) --> (5) Next Steps: Modern C++11/14/17/20:(https://github.com/changkun/modern-cpp-tutorial)

  • GitHub repo 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.

    Project mention: Bungie article on how they program games like Destiny using C++ and the guidelines they came up with for doing so. | reddit.com/r/programming | 2021-09-02

    I'd 100% wager that they have their own standard collections. Something like EASTL but internal to Bungie.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo entt

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

    Project mention: What are your recommendations for c++ game dev? | reddit.com/r/cpp | 2021-08-26

    entt (https://github.com/skypjack/entt) is my most favourite ECS framework but there are plenty good ones out there.

  • GitHub repo 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: Embedding Lisp in C++ – A Recipe | news.ycombinator.com | 2021-06-08
  • GitHub repo LeetCode-Solutions

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

    Project mention: Python code snippets & resources for Developers | dev.to | 2021-04-05

    9, Python LeetCode solutions

  • GitHub repo nana

    a modern C++ GUI library

    Project mention: Best GUI Library for C++? | reddit.com/r/cpp_questions | 2021-08-21

    well, nana seems to still be developed, but it's in another branch for now: https://github.com/cnjinhao/nana/tree/develop-1.8

  • GitHub repo immer

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

    Project mention: Joker | news.ycombinator.com | 2021-09-02
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo Elements C++ GUI library

    Elements C++ GUI library

    Project mention: Easiest to Build C++ Library | reddit.com/r/cpp | 2021-02-12

    A declarative UI framework : https://github.com/cycfi/elements

  • GitHub repo uvw

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

    Project mention: I hate ASIO and I can't be alone. | reddit.com/r/cpp | 2021-08-14

    Have you tried this wrapper? https://github.com/skypjack/uvw

  • GitHub repo sqlite_orm

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

    Project mention: New SQLite ORM library | reddit.com/r/swift | 2021-09-17

    Hey folks. I've posted my new `SQLiteORM` lib today here on GitHub https://github.com/fnc12/sqlite-orm-swift . It is the same lib I've written with C++ before https://github.com/fnc12/sqlite_orm . It uses keypath instead of `Codable` protocol to serialize and deserialize objects. If you need to use SQLite database inside your Swift project and you hate writing SQL queries using raw strings then you may like this lib.

  • GitHub repo managarm

    Pragmatic microkernel-based OS with fully asynchronous I/O

    Project mention: This Month in Rust OSDev (May 2021) | reddit.com/r/rust | 2021-06-10

    Not hosted on rust-osdev but the Managarm project (an OS that focuses on async and that is primarily written in C++ so far) recently gained a rustc port and ports of some basic utilities written in Rust (ripgrep, exa). Support for Rust drivers is in the works (but still requires adding support for some libraries first that wrap the low-level system call interface).

  • GitHub repo stdgpu

    stdgpu: Efficient STL-like Data Structures on the GPU

  • GitHub repo RigelEngine

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

    Project mention: RuneScape, Duke Nukem II and Half-Life: Before's native Linux ports added to Luxtorpeda for Steam | reddit.com/r/linux_gaming | 2021-03-18

    u/d10sfan has added Linux version of RuneScape; Rigel Engine re-implementation for Duke Nukem II; Xash3D FWGS and Spirit of Half Life mod for Half-Life: Before to Luxtorpeda repos. Thanks to that, native Linux ports of those games can be played as Steam games.

  • GitHub repo Mudlet

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

    Project mention: Client Inquiries - Materia Magica | reddit.com/r/MUD | 2021-09-04

    You can download the latest AppImage from mudlet.org, maybe that will work for you.

  • GitHub repo butano

    Modern C++ high level GBA engine

    Project mention: I want to make a 3d gba game using a gba game engine called butano. Does anyone know of tutorials or examples on how to do this? | reddit.com/r/gamedev | 2021-09-01
  • GitHub repo cuda-api-wrappers

    Thin C++-flavored wrappers for the CUDA Runtime API

    Project mention: How do I use gpus (c++) | reddit.com/r/learnprogramming | 2021-05-02

    Try Vulcan, or OpenCL. There are tons of wrappers for CUDA to make coding simpler ie https://github.com/eyalroz/cuda-api-wrappers

  • GitHub repo structopt

    Parse command line arguments by defining a struct (by p-ranav)

    Project mention: cmdlime - possibly the least verbose command line parsing library for C++17 | reddit.com/r/cpp | 2021-05-20

    Hello everyone! I'm not a reddit user, but my previously open-sourced projects have been only seen by one of my coworkers and I can't even find them on google, so I'm trying to get some visibility) It's just a command line parser, but it uses the idea of declaring the structure which acts as the data scheme for the parser and result storage simultaneously, which I think is the best possible approach for the problem. I was excited when I discovered it with the structopt library, but I had too many gripes with its interface (required duplication of your structure content in the macro, everything besides positional arguments has to be wrapped in std::optional, inability to set parameters' description to the help message, etc), so I've built an alternative that doesn't tick me off. At least so far) I hope someone finds it interesting.

  • GitHub repo hlslpp

    Math library using hlsl syntax with SSE/NEON support

  • GitHub repo result

    A lightweight C++11-compatible error-handling mechanism (by bitwizeshift)

    Project mention: C++ “result” type based on modern languages like Swift and Rust | news.ycombinator.com | 2021-03-12
  • GitHub repo booleval

    Header-only C++17 library for evaluating logical expressions.

    Project mention: booleval v2.0 released | reddit.com/r/cpp | 2021-07-19

    booleval is header-only C++17 library for evaluating logical expressions. This means that, if you want to filter out stream of objects (e.g. objects representing network packets) by stringified logical expression, you can do it easily with this library.

  • GitHub repo liblifthttp

    Safe and easy to use C++17 HTTP client library.

    Project mention: Ask HN: What are some tools / libraries you built yourself? | news.ycombinator.com | 2021-05-16


    I created a C++17 HTTP client which is backed by curl and libuv (linux only! sorry windows). I think a lot of people have done this or something similar but almost all of the ones I looked at either exposed the curl api directly in some fashion or had extremely weak async support. So my main motivation was extremely easy asynchronous queries for high throughput with a very modern C++ API that has as good as you can get memory safety, or at least as good as modern C++ will let you get. No raw curl calls or api exposed at all. I used to find it extremely difficult to make C++ HTTP calls, now its a real breeze.

    My next project is a bit more ambitious: https://github.com/jbaldwin/libcoro/ -- I'd like to make a C++20 HTTP client from the ground up with first class coroutine support, and I'll be using lift as a benchmark to beat performance wise.

  • GitHub repo apecs

    A petite entity component system (by MagicLemma)

    Project mention: &lt;coroutine&gt; vs &lt;ranges&gt;: An ECS Example | reddit.com/r/cpp | 2021-08-09

    A few months ago I posted my entity component system where the bulk of the implementation was implemented via coroutines. It was a fairly clean implementation, however in hindsight it was the wrong tool for the job.

  • GitHub repo sqlite3cpp

    C++17 Wrapper of SQLite

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). The latest post mention was on 2021-09-17.


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

Project Stars
1 modern-cpp-tutorial 15,008
2 EA Standard Template Library 5,931
3 entt 5,707
4 sol2 2,683
5 LeetCode-Solutions 2,571
6 nana 1,925
7 immer 1,887
8 Elements C++ GUI library 1,877
9 uvw 1,306
10 sqlite_orm 1,295
11 managarm 671
12 stdgpu 614
13 RigelEngine 526
14 Mudlet 475
15 butano 429
16 cuda-api-wrappers 401
17 structopt 362
18 hlslpp 210
19 result 56
20 booleval 44
21 liblifthttp 30
22 apecs 15
23 sqlite3cpp 8
Find remote jobs at our new job board 99remotejobs.com. There are 25 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives