C++ Horizons
summary
C++ adds three concrete capabilities: reflection/injection that extracts meta info, runs compile‑time code and injects members (examples: enum→string, generic hash_append, automatic struct‑of‑arrays wrapper and an SOA iterator), pattern matching via the inspect expression that decomposes tuples, variants and custom extractors (used to write a generic JSON serializer), and senders — a composable async model with CPU/GPU/distributed schedulers. A prototype runs the same sender graph from one thread to a cluster and demos scale to 512 GPUs, showing it actually works.
AI-written summary · about
chapters (34)
- 0:00Introduction and speaker background
- 1:32C++ 20 adoption and C++ 23 features
- 2:36Future C++ features: reflection, pattern matching, senders
- 3:38Reflection and metaprogramming basics
- 6:49Reflection use cases: hashing and class wrapping
- 10:59Reflection for data layout transformations
- 14:57Pattern matching introduction and need
- 15:40Inspect expression and pattern types
- 19:23Combining reflection and pattern matching
- 22:13Asynchrony in C++ and senders model
- 24:22Senders demo: electromagnetic wave simulation
- 26:07Senders demo: networking asynchronous read
- 28:14Senders demo: parallel inclusive scan
- 32:10Summary of reflection, pattern matching, senders
- 32:32Q&A: reflection challenges and alternatives
- 39:22Q&A: pattern matching convertibility issues
- 41:08Q&A: senders and partial data handling
- 42:11Q&A: senders ergonomics and coroutines
- 43:59Q&A: reflection and dynamic casting
- 44:41Q&A: metaprogramming with algorithms
- 45:24Q&A: CUDA compilation model
- 46:48Q&A: Circle and committee reflection models
- 48:14Q&A: transformational vs incremental changes
- 49:17Q&A: false sharing in parallel scan
- 49:59Q&A: inspect expression behavior
- 51:23Q&A: reflecting identifiers and names
- 52:06Q&A: breaking the ABI
- 52:48Q&A: meta classes and concepts
- 53:53Q&A: GPU execution and standard library
- 57:00Q&A: GPU scheduler in standard library
- 58:25Q&A: serializing function signatures
- 59:32Q&A: standard build system
- 59:53Q&A: committee interest in reflection
- 1:01:25Q&A: pattern matching and senders status
