Explore C++ coroutines from the ground up in this comprehensive conference talk from CppCon 2022. Delve into the potential of C++ 20's coroutines to simplify code, particularly for asynchronous operations. Begin with a motivating example of a multiple async task problem, then compare traditional approaches with coroutine-based solutions. Examine the complexities of coroutines and the current lack of standard library support. Follow a journey through coroutine implementation, from basic concepts to more advanced applications with library support. Gain insights from Phil Nash, the creator of Catch2 and Clara, as he demystifies coroutines and demonstrates their practical applications in C++ programming.
Overview
Syllabus
C++ Coroutines, from Scratch - Phil Nash - CppCon 2022
Taught by
CppCon