~/talk

From Async I/O to Senders and Receivers

Talkat Core C++ 2026 · 2026-10-20..10-21· [c-and-cpp, concurrency]
links:none on file
slides:none on file

Shows why C++26 adds senders/receivers: coroutines make async code readable but still allocate on the heap and don’t model lifetime or error paths cleanly, so sender chains map OS non‑blocking I/O onto a reactor + operation_state model. Demonstrates non‑blocking connect/accept/send/recv, a receive_exact operation that stores the header in the operation state, scheduling 10k connections on one reactor thread, and switching heavy work to a thread pool with continuation-on schedulers; the examples compile into working pipelines.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:06Why avoid blocking threads
  3. 3:18Blocking IO example
  4. 7:55Non-blocking IO setup
  5. 12:12Non-blocking API complexity
  6. 17:55Event loop and reactor pattern
  7. 20:45Lambda-based callbacks
  8. 23:11Manual state machines
  9. 26:22Coroutines in C++20
  10. 28:48Why senders and receivers
  11. 31:16Sender pipelines explained
  12. 36:34Sender chain execution
  13. 37:36First sender example
  14. 40:04IO senders and transformations
  15. 45:47Scheduling across threads
  16. 48:39Error handling and branching
  17. 50:26Server-side sender chains
  18. 51:08Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.