C++20: C++ at 40
summary
Forty-year C++ history leads to concrete C++20 deliverables: modules (import std) reduces rebuilds and targets ~5–10x compile speedups; concepts for generic constraints makes templates readable and errors earlier; ranges and coroutines/generators enable pipeline-style and lazy computation (Eratosthenes example compiles and runs); constexpr and chrono push more logic to compile time and add timezone-aware dates. Advice: adopt modern APIs incrementally, encapsulate or replace legacy modules, use static analyzers and smart pointers to avoid leaks.
AI-written summary · about
chapters (45)
- 0:00Intro
- 1:50Welcome
- 2:50C at 40
- 4:15Unix
- 5:18The world has changed
- 6:52Teaching C
- 9:09Principles of C
- 12:31Highlevel aims
- 15:13Create really good applications
- 15:36C has been part of that
- 17:33weve done well
- 18:15evolving language
- 18:38static type
- 20:33value reference semantics
- 20:49pointer reference
- 21:41value types
- 22:22vector example
- 23:21machine
- 23:41memory
- 24:49arrays
- 26:53onion principle
- 27:55constructor destructors
- 28:45gadget
- 29:58user pointers
- 31:59garbage collection
- 32:52coffee machine
- 33:33map printer
- 34:44modules
- 36:49generic programming
- 40:54objectoriented programming
- 41:48pointers
- 42:34variants
- 43:47overloaded function
- 45:04concurrency
- 45:32deadlock
- 46:29doublelocked initialization
- 47:29tunable
- 50:19optimization
- 52:45use of system resources
- 54:04parallel algorithms
- 54:45execution policy
- 55:18compile time
- 55:35compile time programming
- 56:37square root
- 57:39extensible
related talks
59mC++20: An (Almost) Complete Overview
01h 02mHow C++20 Changes the Way We Write Code
59mC++20 - My Favourite Code Examples
55mNot your GrandParent’s C++
01h 35mC++20 – My Favourite Code Examples
01h 02mC++20 - My Favourite Code Examples
24mC++17 and 20 Goodies
59mModern C++ for Fun and Profit: This isn’t your old C++
