(Don't) Use Coroutines for This - Exploring C++20 Coroutines Beyond Concurrency
Meeting Cpp via YouTube
Learn Python with Generative AI - Self Paced Online
The Fastest Way to Become a Backend Developer Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore C++ coroutines beyond their traditional concurrency applications in this 41-minute conference talk from Meeting C++ 2025. Examine how coroutines can serve as a general flow control mechanism rather than solely for asynchronous execution, moving past the initial hype around C++20's coroutine features. Learn about the current state of coroutines in the C++ standard, including the introduction of std::generator as the primary synchronous coroutine type, while understanding why asynchronous coroutines didn't make it into the standard and how structured concurrency efforts shifted toward senders and receivers. Discover practical examples demonstrating how coroutines can simplify real-world code for non-concurrent scenarios, treating them as fundamental language constructs similar to branching, loops, and functions. Gain insights into alternative use cases for coroutines that extend beyond their commonly discussed asynchronous programming applications, providing a fresh perspective on this C++20 feature's versatility in everyday programming tasks.
Syllabus
(Don't) use coroutines for this - Ivan Čukić - Meeting C++ 2025
Taught by
Meeting Cpp