Explore C++ coroutines from the ground up in this comprehensive conference talk from ACCU 2023. Dive into a worked example comparing "before" and "after" implementations using C++ coroutines. Learn how coroutines, introduced in C++ 20, can simplify code, particularly for asynchronous operations. Understand the challenges of early adoption due to limited library support and feature complexity. Follow a journey through a motivating example of multiple async tasks, examining approaches without coroutines, then discovering how coroutines can improve the solution. Gain insights into potential library support for coroutines and its impact on implementation. Benefit from Phil Nash's expertise as the original author of Catch2 and member of the ISO C++ standards committee as he demystifies this powerful language feature.
Overview
Syllabus
C++ Coroutines From Scratch - Phil Nash - ACCU 2023
Taught by
ACCU Conference