~/talk

How C++20 changes the way we write code

Talkat Meeting C++ 2020 · 2020-11-12..11-14· [rust]
links:none on file
slides:none on file

Argues C++20 actually rewrites how code is authored by adding four concrete features: coroutines (demonstrated with a handmade generator and promise that compiles and works but is fiddly), concepts (simple, readable constraints replacing enable_if gymnastics), ranges (lazy view pipelines replacing intermediate containers), and modules (binary module interface speeds compilation and hides headers). Shows implementation choices, heap vs stack optimizations, the standard jumps to ~1800 pages, and recommends using Lewis Baker’s cppcoro or waiting for std::generator in C++23.

AI-written summary · about

  1. 0:00Start
  2. 5:56Quarantines
  3. 7:02Pure Function
  4. 10:57Lambdas
  5. 16:19Promise Type
  6. 24:13The Promise Type
  7. 25:22Yield Value Function
  8. 33:08Functions
  9. 41:25Function Template
  10. 42:00Requires Clauses
  11. 44:10Ranges
  12. 45:45Projections
  13. 46:33Declaration of Ranges Sort
  14. 47:06Permutable Concept
  15. 53:32Headers
  16. 56:23Macros
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.