Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Modernizing Finite State Machines in C++ Using std::variant

CppNow via YouTube

Overview

Discover how to revolutionize Finite State Machine (FSM) implementation in this comprehensive conference talk from C++Now 2024. Learn to leverage std::variant in modern C++ to transform traditional FSM designs that relied on multiple inheritance hierarchies and heap-allocated objects. Explore an intuitive approach to representing states and transitions while gaining insights into performance optimization through efficient state management without heap allocation. Master practical strategies for incorporating modernized FSMs into C++ projects, understanding design principles, and harnessing std::variant's capabilities for enhanced type safety and code readability. Presented by Amandeep Chawla, a senior computer scientist at Adobe with over 20 years of C++ experience, particularly in embedded systems and cross-platform development, this talk offers valuable perspectives for both seasoned developers looking to simplify FSM implementations and newcomers exploring advanced C++ features.

Syllabus

Modernizing Finite State Machines in C++ - Empower Simplicity & Boost Performance With std::variant

Taught by

CppNow

Reviews

Start your review of Modernizing Finite State Machines in C++ Using std::variant

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.