~/talk

Towards Async Everything Part 2 - Scopes, Construction, and Destruction

Talkat C++Now 2026 · 2026-05-04..05-08· [concurrency]
links:none on file
slides:none on file

Implements an io_uring context and a sender/receiver model for asynchronous construction and destruction, turning constructors/destructors into composable enter/exit scope senders and a lifetime algorithm that curries constructor arguments and allocates storage. Demonstrates an async file-handle async object that opens and closes via io_uring, an async cat that prints “hello world,” and srace evidence of zero syscalls under submission Q polling. Addresses noexcept and stop semantics, notes start_detach removal, and ships a PR against Nvidia’s stdexec.

AI-written summary · about

  1. 0:00Recap of IOU ring context
  2. 1:05Async construction and destruction
  3. 3:31Async open with IOU ring
  4. 10:13Resource cleanup challenges
  5. 16:20Destructors can't block
  6. 22:43Problem with destructors
  7. 28:02Construction/destruction as senders
  8. 36:35Enter and exit scope senders
  9. 46:03Language for scope management
  10. 54:09Async file descriptor example
  11. 1:00:05Async cat application
  12. 1:05:25Async cat zero syscalls
  13. 1:08:35Summary and path
~/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.