Overview
This course on Applied C++20 Coroutines aims to provide practical guidance on how to design, debug, and evaluate coroutines in real-world applications. The learning outcomes include understanding coroutine concepts, implementing a coroutine-based web-server using CMake and Boost.Beast, comparing performance with other approaches, evaluating coroutine performance, and exploring new features in C++23. The course covers skills such as designing coroutines, debugging, and evaluating performance. The teaching method involves practical examples, comparisons, and observations. The intended audience includes users of all levels interested in C++20 coroutines, with sufficient introductory material provided to make the content accessible.
Syllabus
Introduction
What next
Outline
Example Code
Back to Basics
Concurrency vs Parallelism
Coroutine granularity
Coroutine vs Fibers
OS Multitasking
Coroutines as fibers
Example
Blue Wireless
Mobile Connection Management
Architecture
Architecture Example
Dispatcher
Connect to Action
TCP Connections
CPP
Coroutines
Waitable
Return Type
Promise Type
Handles
Promise
Loop
Applications
Observations
BoostBeast
Apache Bench
Taught by
ACCU Conference