finds.dev

lefticus/cpp_weekly

The official C++ Weekly Repository. Code samples and notes of future / past episodes will land here at various times. PR's will be accepted in some cases.

View on GitHub

★ 863C++Unlicenseupdated Aug 2024

// the take

This is the companion code repo for Jason Turner's C++ Weekly YouTube series — a grab-bag of standalone snippets, benchmarks and homework examples that accompany specific episodes, not a library or framework. It's for people who already watch the show and want to pull the code apart locally, or who stumble on a specific topic (PMR allocators, parallel algorithms, Game of Life implementations) via search and want working examples to compare.

The CMake setup (cmake/Cache.cmake, Sanitizers.cmake, StaticAnalyzers.cmake, CompilerWarnings.cmake) is genuinely useful as a reference even outside the context of the videos — it's a decent template for wiring clang-tidy, ASan/UBSan, and ccache into a new project. Several directories (PMR, parallel_algorithms) contain multiple variants of the same problem solved different ways with actual benchmark data (performance_stats.csv) rather than just one 'correct' answer. The breadth of topics covered is real — from polymorphic memory resources to SIMD-ish bit pattern tricks to constexpr game-of-life — so it's a good index of 'things worth knowing about in modern C++' even without watching anything.

There's no overarching structure or versioning — each folder is an isolated episode artifact with its own CMakeLists.txt or none at all, so you can't 'install' or depend on this, only mine it for ideas. Almost none of the code is documented beyond filenames; the actual reasoning lives in the YouTube videos, so the repo on its own is often just source with no context for why one variant beats another. PRs are accepted 'in some cases' per the README, meaning it's not really community-maintained — expect drive-by episode code, not a living project. Last pushed August 2024, so recent C++23/26 content and newer compiler behavior won't be reflected, and some homework/experiment files are clearly one-off and unmaintained (Python prototypes mixed in with C++, a .travis.yml alongside GitHub Actions).

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
863
Forks
42
Language
C++
License
Unlicense
Last commit
10 Aug 2024

// nearby

If cpp_weekly isn't quite it.

All repos →