C++ modern-cpp

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

Top 23 C++ modern-cpp Projects

  • modern-cpp-tutorial

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

  • entt

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

  • Project mention: Using Jolt with flecs & Dear ImGui: Game Physics Introspection | dev.to | 2024-04-17

    EnTT is a popular alternative to flecs for C++, which has different performance/memory characteristics.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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: Sane C++ Libraries | news.ycombinator.com | 2024-01-27

    > you can still use it with smart pointers provided by any other library

    Is the point of having a kitchen-sink library like this not that you dont have to reach for a 3rdparty library for things that you need 'all the time'?

    Certainly, not everyone needs it.

    ...but, not everyone needs threads either. Not everyone needs an http server; and yet, if you have an application framework that provides them, when you do need them, it saves you reaching for yet-another-dependency.

    Was that no the point from the beginning?

    unique_ptr is a fundamental primitive for many, as you see from some other frameworks (1), and implementation is not always either a) trivial, or b) as simple as 'just use std::unique_ptr'.

    This does seem like a very opinionated decision with reasonably unclear justification.

    [1] - eg. https://github.com/EpicGames/UnrealEngine/blob/release/Engin..., https://github.com/electronicarts/EASTL/blob/master/include/...

  • LeetCode-Solutions

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

  • 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: Any tips for how to make moddable games? | /r/gamedev | 2023-05-20

    As someone said, make the game data-driven is a good first step but I will say, also have some sort of way to add additional game logic. For C++ games, lua is really easy to embed the interpreter in your C++ binary, read in the files from a directory (like /mods) with the C++ filesystem api new in C++17, and it's very easy to use SoL to write an API for lua specific to your game. Many games use lua in this way and it's probably the most common mod path setup.

  • Elements C++ GUI library

    Elements C++ GUI library

  • Project mention: declarative GUI libraries | /r/cpp | 2023-06-23
  • immer

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

  • Project mention: Text Editor Data Structures: Rethinking Undo | news.ycombinator.com | 2023-12-11

    I've been working on an editor (not text) in C++ and pretty early got into undo/redo. I went down the route of doIt/undoIt for commands but that quickly got old. There was both the extra work needed to implement undo separately for every operation, but also the nagging feeling that the undo operation for some operation wasn't implemented correctly.

    In the end, I switched to representing the entire document state using persistent data structures (using the immer library). This vastly simplified things and implementing undo/redo becomes absolutely trivial when using persistent data structures. It's probably not something that is suitable for all domains, but worth checking out.

    https://github.com/arximboldi/immer

  • SaaSHub

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

    SaaSHub logo
  • nana

    a modern C++ GUI library

  • sqlite_orm

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

  • eos

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

  • uvw

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

  • managarm

    Pragmatic microkernel-based OS with fully asynchronous I/O

  • Project mention: RISC-V support (super-duper ultra WIP) by ElectrodeYT · Pull Request #534 · managarm/managarm | /r/RISCV | 2023-07-09
  • q

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

  • stdgpu

    stdgpu: Efficient STL-like Data Structures on the GPU

  • butano

    Modern C++ high level GBA engine

  • RigelEngine

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

  • Project mention: Lessons from Open-Source Game Projects | dev.to | 2024-04-10

    Rigel Engine - Duke Nukem 2 clone. C++, C, OpenGL, SDL2

  • cccl

    CUDA C++ Core Libraries

  • Project mention: GDlog: A GPU-Accelerated Deductive Engine | news.ycombinator.com | 2023-12-03

    https://github.com/topics/datalog?l=rust ... Cozo, Crepe

    Crepe: https://github.com/ekzhang/crepe :

    > Crepe is a library that allows you to write declarative logic programs in Rust, with a Datalog-like syntax. It provides a procedural macro that generates efficient, safe code and interoperates seamlessly with Rust programs.

    Looks like there's not yet a Python grammar for the treeedb tree-sitter: https://github.com/langston-barrett/treeedb :

    > Generate Soufflé Datalog types, relations, and facts that represent ASTs from a variety of programming languages.

    Looks like roxi supports n3, which adds `=>` "implies" to the Turtle lightweight RDF representation: https://github.com/pbonte/roxi

    FWIW rdflib/owl-rl: https://owl-rl.readthedocs.io/en/latest/owlrl.html :

    > simple forward chaining rules are used to extend (recursively) the incoming graph with all triples that the rule sets permit (ie, the “deductive closure” of the graph is computed).

    ForwardChainingStore and BackwardChainingStore implementations w/ rdflib in Python: https://github.com/RDFLib/FuXi/issues/15

    Fast CUDA hashmaps

    Gdlog is built on CuCollections.

    GPU HashMap libs to benchmark: Warpcore, CuCollections,

    https://github.com/NVIDIA/cuCollections

    https://github.com/NVIDIA/cccl

    https://github.com/sleeepyjack/warpcore

    /? Rocm HashMap

    DeMoriarty/DOKsparse:

  • liblava

    Modern and easy-to-use library for Vulkan

  • cuda-api-wrappers

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

  • Project mention: VUDA: A Vulkan Implementation of CUDA | news.ycombinator.com | 2023-07-01

    1. This implements the clunky C-ish API; there's also the Modern-C++ API wrappers, with automatic error checking, RAII resource control etc.; see: https://github.com/eyalroz/cuda-api-wrappers (due disclosure: I'm the author)

    2. Implementing the _runtime_ API is not the right choice; it's important to implement the _driver_ API, otherwise you can't isolate contexts, dynamically add newly-compiled JIT kernels via modules etc.

    3. This is less than 3000 lines of code. Wrapping all of the core CUDA APIs (driver, runtime, NVTX, JIT compilation of CUDA-C++ and of PTX) took me > 14,000 LoC.

  • Mudlet

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

  • Project mention: Lessons from Open-Source Game Projects | dev.to | 2024-04-10

    Mudlet - Client to connect to a MUD server, scriptable. C++, Lua

  • csv2

    Fast CSV parser and writer for Modern C++

  • hlslpp

    Math library using hlsl syntax with SSE/NEON support

  • structopt

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

  • SaaSHub

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

    SaaSHub logo
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 related posts

  • Crash Course: entity component system

    1 project | news.ycombinator.com | 20 Jul 2023
  • Show HN: A hash array-mapped trie implementation in C

    2 projects | news.ycombinator.com | 10 Jul 2023
  • RISC-V support (super-duper ultra WIP) by ElectrodeYT · Pull Request #534 · managarm/managarm

    1 project | /r/RISCV | 9 Jul 2023
  • Introducing Ecsact

    8 projects | dev.to | 24 Jun 2023
  • value semantics and spans/views

    1 project | /r/cpp | 11 Jun 2023
  • Where can I find the juiciest, most complex and modern c++ code?

    2 projects | /r/cpp_questions | 9 Jun 2023
  • I've added benchmarks to my C++20 work stealing thread pool implementation

    1 project | /r/cpp | 31 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 May 2024
    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 23,144
2 entt 9,497
3 EA Standard Template Library 7,672
4 LeetCode-Solutions 4,508
5 sol2 3,964
6 Elements C++ GUI library 2,917
7 immer 2,425
8 nana 2,248
9 sqlite_orm 2,144
10 eos 1,880
11 uvw 1,770
12 managarm 1,311
13 q 1,086
14 stdgpu 1,085
15 butano 1,000
16 RigelEngine 882
17 cccl 798
18 liblava 743
19 cuda-api-wrappers 731
20 Mudlet 699
21 csv2 515
22 hlslpp 452
23 structopt 450

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