Introduction to Coroutines

preview_player
Показать описание
Coroutines are a new feature in C++20. Wikipedia describes coroutines as "functions whose execution you can pause". What exactly does this mean and how is it exposed in C++?

This month, Richard Thomsons will give us a gentle introduction to coroutines. We'll look at the syntax introduced in C++20 that allows you to define and call coroutines and how they interact with other features in the standard library, such as ranges. We'll compare coroutines to fibers and threads and see how the different types of concurrency compare to each other.

Рекомендации по теме
Комментарии
Автор

Highly looking forward to the Cobalt discussion and symmetric transfer. That is still one of the confusing aspects of coros!

SamWhitlock