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

An Introduction to Interactive Programming in Python (Part 1)
Rice University via Coursera
Introduction: Elements of Microgame Design
Worcester Polytechnic Institute via Kadenze
Programming with GUIs
Raspberry Pi Foundation via FutureLearn
Introduction to Basic Game Development using Scratch
Coursera Project Network via Coursera
Basic Game Development with Levels using Scratch
Coursera Project Network via Coursera