Introduction to Coroutines

Опубликовано: 19 Август 2024
на канале: Utah Cpp Programmers
1,146
36

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.

Meetup: https://meetup.com/utah-cpp-programmers/
Future topics: https://utahcpp.wordpress.com/future-...
Past topics: https://utahcpp.wordpress.com/past-me...