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

YouTube

C++ Coroutines - Don't Try This at Home - ACCU 2024

ACCU Conference via YouTube

Overview

Explore the intricacies of C++20 coroutines in this comprehensive conference talk from ACCU 2024. Delve into the advanced topic of coroutines, examining their fundamental concept as functions that can be suspended and resumed. Gain insights into the complex boilerplate required and understand why this feature is primarily geared towards experienced C++ programmers. Learn about the coroutine frame, coroutine handle, promise_type, awaiters, awaitables, and the necessary interfaces. Compare the perspectives of user code and compiler requirements, discovering how to bridge the gap between them. Investigate the limited additions in C++23, focusing on std::generator. Through detailed explanations and code examples, develop a deeper understanding of this powerful language feature and its potential applications in modern C++ programming.

Syllabus

C++ Coroutines - Don’t Try This at Home - Lieven de Cock - ACCU 2024

Taught by

ACCU Conference

Reviews

Start your review of C++ Coroutines - Don't Try This at Home - ACCU 2024

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.