Overview
Explore advanced C++ coroutine concepts and asynchronous programming techniques in this 48-minute conference talk from code::dive. Dive deep into managing asynchronous control flow with coroutines, learning how to reconstruct call stacks of nested asynchronous calls and bridge the gap between C++'s stackless coroutines and stackful coroutines from other languages. Master building async/await mechanisms similar to Python and Javascript, while discovering techniques for manipulating call stacks to maximize C++'s coroutine capabilities. Gain comprehensive understanding of Task type implementation in coroutine libraries and its role in managing asynchronous operations, laying groundwork for advanced concepts like the C++26 sender/receiver mechanism. Prior knowledge of basic C++ coroutine components including promises, awaitables, coroutine handles, and coroutine data passing is recommended for this advanced-level presentation delivered by Andreas Weis, an experienced C++ developer and active ISO C++ committee member specializing in safety-critical systems and automotive software.
Syllabus
Andreas Weis - Deciphering C++ Coroutines Mastering Asynchronous Control Flow
Taught by
code::dive conference