Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore coroutines in C++20 through this comprehensive conference talk from NDC TechTown 2021. Dive into the newly standardized feature, now available in all major compilers, and learn how to effectively implement it in your code. Discover the intricacies of coroutine invocation, promise types, and task handling through practical examples using a custom coroutine library. Gain insights into synchronization, weight management, and common pitfalls when working with coroutines. By the end of this 47-minute presentation, acquire the knowledge to rewrite and optimize your code using coroutines, understanding both their benefits and potential challenges.