~/talk

Evolving C++ Networking with Senders & Receivers [part 2]

Talkat Core C++ 2024 · 2024-11-26..11-28· [c-and-cpp, concurrency]
links:none on file
slides:none on file

Implements a production TCP server atop Linux epoll using std::execution (senders & receivers), plus an eoll-based file‑descriptor wrapper, merged stop_source/stop_token fan‑in, and a small helper to emplace immovable operation_states without moves. Adds primitives: let_value/just, repeat/branch/sequence, variant sender, async mutex and an async queue; composes them to read datacon messages, handle heartbeats and cancellation semantics. Compiles and runs; demo shows request/ack/intermediate payload/heartbeat and cancel→cancel‑ack, and unit tests exercise cancellation. type erasure of receivers zero‑allocation structured concurrency

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Handling multiple readiness types
  3. 8:30Starting operations for readability/writability
  4. 14:11Reading bytes asynchronously
  5. 21:53Handling a single request
  6. 31:42Cancellation in networking
  7. 41:11Dynamic fan out with branch
  8. 47:06Transitioning to async domain
  9. 50:40Q&A: Performance and assembly
  10. 54:16Q&A: Repeat and shot senders
  11. 57:07Q&A: Promises vs senders
  12. 58:52Q&A: One-shot senders
  13. 1:00:21Q&A: Execution contexts
~/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.