~/talk

A Pattern Language for Expressing Concurrency in Cpp

Talkat CppCon 2022 · 2022-09-11..09-16· [frontend-architecture]
links:none on file
slides:none on file

Claim: C++ can get structured concurrency by adopting senders/receivers (P2300) as primitives, matching five structured‑programming principles. Tools and idioms shown: algorithms like just, then, schedule, transfer, let_value and when_all composed with thread‑pool and IO schedulers. Demonstration: a working HTTP server that cartoonifies images by transferring work between IO and CPU pools, forking parallel image ops and joining them with when_all. Outcome: the pattern vocabulary (eight core patterns) composes safely and avoids explicit locks while remaining efficient.

AI-written summary · about

  1. 0:00Introduction
  2. 3:35Structure Concurrency
  3. 9:46Hello World
  4. 18:02Visual Representation
  5. 18:47Exit Points
  6. 20:02Patterns
  7. 21:22Synchronous Waiting
  8. 23:02Transform Values
  9. 25:57Exceptions
  10. 27:32Scheduling
  11. 33:12Composition
  12. 37:32Starting senders in other contexts
  13. 39:44Transfer between context
  14. 47:55Handling HTTP Requests
~/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.