Get 20% off all career paths from fullstack to AI
Stuck in Tutorial Hell? Learn Backend Dev the Right Way
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore C++20's coroutines in this beginner-friendly conference talk from CppCon 2022. Start with the basics of normal functions before delving into coroutines and their various customization points. Learn about the new keywords co_await, co_yield, and co_return, and understand how to write a generator for coroutines in the absence of STL support in C++20. Discover the distinction between cooperative and preemptive multitasking, and grasp why coroutines eliminate the need for locks. By the end of this one-hour presentation, gain a solid understanding of coroutines and their practical applications in C++ programming.
Syllabus
C++20’s Coroutines for Beginners - Andreas Fertig - CppCon 2022
Taught by
CppCon