~/talk

Structured Concurrency

Talkat ACCU 2022 · 2022-04-06..04-09· [concurrency, software-architecture]
links:none on file
slides:none on file

Claim: P2300 senders/receivers let an entire concurrent C++ application be expressed as nested computations that have one entry and one exit, so the whole program can be one sender and recursively decomposed into many senders. Concrete tools shown: thread_pool and io_context schedulers, when_all/then composition, and the completion model (set_value set_error set_stopped). Example: an HTTP “cartoonify” server that offloads CPU work to a thread pool. Historical note: structured programming solved in <10 years, concurrency still ranks top frustration after 57 years.

AI-written summary · about

  1. 0:00Start
  2. 6:04Agenda
  3. 7:50Abstractions as Building Blocks
  4. 9:48Function
  5. 10:51Classic Example of an Abstraction
  6. 11:39Why Do We Use Abstractions
  7. 16:28Local Reasoning
  8. 21:13Caveats
  9. 22:06Soundness and Completeness
  10. 23:06Summary Structure Programming
  11. 43:48Create the Operation States
  12. 51:06Theoretical Results
  13. 56:23Recursive Decomposition
  14. 58:42Single Entry Single Exit Point
  15. 1:04:26Interactions between Senders and Core Routines
  16. 1:07:08Listener
  17. 1:09:00Start Detach
  18. 1:19:11Conclusions
~/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.