From the course: Functional Programming in C++

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Advanced coroutines and asynchronous programming

Advanced coroutines and asynchronous programming - C++ Tutorial

From the course: Functional Programming in C++

Advanced coroutines and asynchronous programming

- [Instructor] Coroutines and Asynchronous Programming. We're diving into Coroutines, a powerful C++ feature that makes asynchronous programming easier and more efficient. Get ready to write responsive and performant code. Coroutines let you write asynchronous code as if it were synchronous, making it much easier to read and maintain. They also enable lazy evaluation, improving performance. Coroutines work by pausing and resuming their execution. The co_await, co-yield and co_return keywords are the core building blocks for controlling this behavior.

Contents