Can you give an example of well-designed C++ code, and explain why you think it is so?

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

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

    Tensors and Dynamic neural networks in Python with strong GPU acceleration

  • https://github.com/pytorch/pytorch/tree/master/caffe2 this is the backend that executes the actual operations. It is written in C++.

  • envoy

    Cloud-native high-performance edge/middle/service proxy

  • i do a lot of work w/ https://github.com/envoyproxy/envoy

  • 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
  • C++ Format

    A modern formatting library

  • I am usually underwhelmed by 3rd-party code. libfmt which was basically standardized to std::format does exactly what I want, except for one thing (a completely type-erased way to format -- I do understand there's an engineering tradeoff; in the code I worked on in my previous job, I re-designed a lot of how we format text and libfmt matches what we did in all but that one respect).

  • xtensor

    C++ tensors with broadcasting and lazy computing

  • Currently, one of my current favorites is xtensor.

  • VVVVVV

    The source code to VVVVVV! http://thelettervsixtim.es/

  • Yeah, just look at this beauty! https://github.com/TerryCavanagh/VVVVVV/blob/master/desktop_version/src/Game.cpp

  • nanobench

    Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

  • I like https://nanobench.ankerl.com/

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