Explore the intuition behind C++ coroutines in this comprehensive conference talk from CppNow 2023. Delve into the 'big four' additions of C++20, focusing on how coroutines can revolutionize function design, system architecture, and code structure. Gain insights into stackless and cooperative asynchrony, generators, and senders/receivers through concise examples. Learn to identify problems best solved with coroutines and how they lead to cleaner, safer code. Discover the potential of coroutines in improving readability, maintainability, and composability in C++ programming. Benefit from the expertise of Roi Barkan, a seasoned software developer and architect with extensive experience in high-performance and distributed systems.
Overview
Syllabus
Introduction
When
Examples
History
Suspend
Flexibility
Terminology
Waiter
Generator
Task
IO
Massive concurrency
The scheduler
Priority
Switching between environments
Task graphs
Motivation
Taught by
CppNow