Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Understanding C++ Coroutines by Example: Generators - Part 1

CppCon via YouTube

Overview

Dive into the world of C++20 coroutines with a focus on generators in this comprehensive conference talk from CppCon 2022. Explore the inner workings of coroutines, learn about the co_yield keyword, and understand the concepts behind simple and asynchronous generators. Gain insights into emerging best practices for using coroutines in C++ programming. Discover how coroutines can be a powerful tool in your development arsenal, despite the lack of user-friendly facilities in the standard library. Follow along as Pavel Novikov, an engineering graduate with expertise in C++, metaprogramming, and asynchronous programming, guides you through practical examples and explanations. This talk is the first part of a two-part series, designed to be mostly independent, allowing you to focus on the generators aspect of coroutines.

Syllabus

Understanding C++ Coroutines by Example: Generators (Part 1 of 2) - Pavel Novikov - CppCon 2022

Taught by

CppCon

Reviews

Start your review of Understanding C++ Coroutines by Example: Generators - Part 1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.