YoVDO

Using Boost.Coroutine to Untangle a State Machine

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses Event-Driven Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a case study on simplifying complex event-driven program logic using Boost.Coroutine in this 40-minute conference talk from CppNow 2012. Discover how reimplementing a startup sequence with coroutines can dramatically improve code readability and maintainability. Follow the evolution of a program that makes sequential requests to external servers, starting from a basic switch statement approach, progressing through a Boost.Statechart implementation, and finally arriving at a coroutine-based solution. Learn how coroutines can transform convoluted state machine logic into a clear, nested loop structure that's easy to understand and modify. Gain insights into the benefits of using Boost.Coroutine for managing complex control flow in C++ programs, especially in scenarios involving asynchronous operations and event-driven architectures.

Syllabus

Nat Goodspeed: Using Boost.Coroutine to untangle a state machine


Taught by

CppNow

Related Courses

Your Favorite Undefined Behavior in C++
CppNow via YouTube
Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube
Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube
Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube
Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube