~/talk

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

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

Claim: std::execution in C++26 is a minimal framework that can be bootstrapped into a real networking stack. Demonstrates building an senders & receivers epoll-based context (no io_uring) that returns latent operation states from connect/start, uses operationfd/eventfd for stop requests, intrusive linked lists to avoid heap allocations, oneshot registrations to prevent duplicate completions, and careful move-by-value receiver semantics. Code-level details and error paths are implemented and tested; the context run loop drives completions and stop semantics and the example works end-to-end.

AI-written summary · about

  1. 0:00Introduction to good code
  2. 2:32Decomposing function calls
  3. 5:02Senders and receivers ecosystem
  4. 8:55Receiver contract explained
  5. 11:02Synchronous to async mapping
  6. 14:52Late binding with let_value
  7. 16:16Asynchronous cancellation
  8. 19:43Parallelism vs concurrency
  9. 21:29Building an async networking server
  10. 23:35Linux EPOLL API basics
  11. 26:23EPOLL context implementation
  12. 31:39Operation state lifecycle
  13. 34:07Handling EPOLL edge cases
  14. 37:16Implementing run function
  15. 40:05Adding stop token support
  16. 44:59Stop callback management
  17. 47:25Dispatching stop requests
  18. 49:10Abstracting file descriptors
  19. 50:51Q&A on EPOLL and stop tokens
~/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.