Uploaded August 2026 | Updated December 2026, 3 hours ago
Watch Part 1 Here! youtube.com/watch?v=3PI31yqjI_w
https://www.cppnow.org
---
Towards Async Everything Part 2 - Scopes, Construction, and Destruction - Robert Leahy - C++Now 2026
---
Asynchronous I/O in C++ has traditionally focused on performing operations such as reads and writes, while the acquisition and release of resources remain fundamentally synchronous. This mismatch becomes increasingly problematic as lower-level mechanisms, such as io_uring, make even the close syscall asynchronous.
While asynchronous functions are well supported by std::execution, C++’s object model remains rooted in synchronous construction and destruction: Constructors and destructors cannot suspend. This raises a fundamental question: How can the deterministic cleanup central to modern C++ be expressed when it may require asynchronous work?
This talk explores a model for asynchronous lifetime management based on scopes. By representing entry and exit as composable asynchronous operations, construction and destruction can be expressed within the same framework as other asynchronous work. The result is a unified approach to resource management, enabling objects whose lifetimes are fully asynchronous while preserving the structure and guarantees of RAII.
---
Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/Towards_Async_Everything_Part_2.pdf
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---
Robert Leahy
Robert is a graduate of the University of Victoria where he specialized in graphics, gaming, and digital geometry processing. After spending 4.5 years in full stack web development he pivoted to financial infrastructure in late 2016 whereafter he spent nearly nine years at a start up working on next generation financial market data storage and retrieval mechanisms. In 2019 he became involved in the ISO C++ committee with a particular focus on library evolution. Since summer 2025 he has worked as a core developer at Hudson River Trading.
---
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: Bloomberg
---
Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk
Watch Part 1 Here! youtube.com/watch?v=3PI31yqjI_w
https://www.cppnow.org
---
Towards Async Everything Part 2 - Scopes, Construction, and Destruction - Robert Leahy - C++Now 2026
---
Asynchronous I/O in C++ has traditionally focused on performing operations such as reads and writes, while the acquisition and release of resources remain fundamentally synchronous. This mismatch becomes increasingly problematic as lower-level mechanisms, such as io_uring, make even the close syscall asynchronous.
While asynchronous functions are well supported by std::execution, C++’s object model remains rooted in synchronous construction and destruction: Constructors and destructors cannot suspend. This raises a fundamental question: How can the deterministic cleanup central to modern C++ be expressed when it may require asynchronous work?
This talk explores a model for asynchronous lifetime management based on scopes. By representing entry and exit as composable asynchronous operations, construction and destruction can be expressed within the same framework as other asynchronous work. The result is a unified approach to resource management, enabling objects whose lifetimes are fully asynchronous while preserving the structure and guarantees of RAII.
---
Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/Towards_Async_Everything_Part_2.pdf
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---
Robert Leahy
Robert is a graduate of the University of Victoria where he specialized in graphics, gaming, and digital geometry processing. After spending 4.5 years in full stack web development he pivoted to financial infrastructure in late 2016 whereafter he spent nearly nine years at a start up working on next generation financial market data storage and retrieval mechanisms. In 2019 he became involved in the ISO C++ committee with a particular focus on library evolution. Since summer 2025 he has worked as a core developer at Hudson River Trading.
---
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: Bloomberg
---
Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk










