Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to master asynchronous control flow management using C++ coroutines in this comprehensive conference talk from ACCU 2025. Explore the essential techniques for building asynchronous library interfaces that simplify application code, despite the inherent complexity of implementing such systems in C++. Discover how to reconstruct call stacks for nested asynchronous calls, effectively bridging the gap between C++'s stackless coroutines and the stackful coroutines found in other programming languages. Master the construction of async/await mechanisms similar to those in Python and JavaScript for your own C++ libraries. Delve into advanced call stack manipulation techniques to unlock the full potential of C++'s coroutine mechanism. Gain a thorough understanding of the Task type commonly found in coroutine libraries and learn how to leverage it for managing asynchronous operations effectively. Build foundational knowledge that prepares you for more advanced concepts, including the sender/receiver mechanism proposed for C++26. The presentation assumes basic familiarity with C++ coroutines components including promises, awaitables, coroutine handles, and data passing mechanisms. This session represents the second installment in an ongoing series dedicated to C++20 coroutines, delivered by Andreas Weis, an experienced C++ developer and active ISO C++ committee member who specializes in safety-critical automotive software systems.
Syllabus
How To Manage Asynchronous Control Flow With C++ Coroutines - Andreas Weis - ACCU 2025
Taught by
ACCU Conference