~/talk

Extending std::execution Further - Higher-Order Senders and the Shape of Asynchronous Programs

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp, concurrency]
links:none on file
slides:none on file

Shows how std::execution in C++26 implements higher-order senders by building two concrete algorithms: branch and repeat. Delivers operation-state classes, a chain stop source and a storage-for-completion-signatures type, plus a consteval reflection helper that synthesizes output completion signatures. Demonstrates spawning child senders, graceful vs abortive fan-in, allocator-aware child allocation, and structured-concurrency cleanup — culminating in an asynchronous server that accepts new connections while previously spawned handlers run concurrently.

AI-written summary · about

  1. 0:00std::execution in C++26
  2. 2:09Async program patterns
  3. 3:12repeat algorithm
  4. 5:40Operation state design
  5. 8:47Exceptions in operation states
  6. 10:11Throwingness and environments
  7. 11:34repeat destructor
  8. 12:37Sync server as async
  9. 14:23Async design pitfalls
  10. 16:51branch algorithm
  11. 17:55branch sender behavior
  12. 20:03branch state composition
  13. 21:28Stop source and lifetimes
  14. 23:13Completion signatures storage
  15. 24:15Completion signatures
  16. 26:20Reflection for signatures
  17. 29:06Transforming child signatures
  18. 32:14branch state overview
  19. 33:58Environment stop tokens
  20. 36:06branch storage via reflection
  21. 36:27Maybe complete logic
  22. 38:55Erroneous signatures storage
  23. 39:58Start and exceptions
  24. 40:27Spawning child ops
  25. 42:48branch state interface
  26. 43:50Completions and fan-in
  27. 45:13Child state implementation
  28. 47:18Completing the branch implementation
  29. 47:59Transforming server example
  30. 49:23Significance of std::execution
~/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.