Good repos for beginners to browse that follow best modern C++ practices (including testing, static analysis etc...)

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cmake-init

    The missing CMake project initializer

    Not a c++ project per se, but https://github.com/friendlyanon/cmake-init <- generates modern c++ projects with tests, static analysis, coverage, CI, package manager support etc.

  • cppfront

    A personal experimental C++ Syntax 2 -> Syntax 1 compiler

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • gui_starter_template

    Discontinued A template CMake project to get you started with C++ and tooling

    https://github.com/cpp-best-practices/gui_starter_template from Jason Turner (aka lefticus) is quite a popular one (2.1k stars in Github)

  • fprime

    F´ - A flight software and embedded systems framework

    I've learned a lot exploring NASA Jet Propulsion Lab's F Prime flight software. It's a great and very active repo. This software is currently running, for example, on the helicopter that is flying around on Mars. It will be used on a lot of exciting space probes in the future.

  • osp-magnum

    A spaceship game

  • DiligentEngine

    A modern cross-platform low-level graphics library and rendering framework

  • json

    JSON for Modern C++

    I always recommend https://github.com/nlohmann/json

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

  • Stroika

    Modern C++ made easy

    I recommend a project I work on: https://github.com/SophistSolutions/Stroika

  • C++ Format

    A modern formatting library

  • json_test_data

    Test data for nlohmann/json

  • CPM.cmake

    📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

    this is also great https://github.com/cpm-cmake/CPM.cmake

  • concurrencpp

    Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all

    I use concurrencpp for my asynchronous code and the repo is written in modern cpp, with tests, sanitizers and what not.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts