Tagged articles
Finite State Machine
22 articles · Page 1 of 1
AutoWebWorld introduces a finite‑state‑machine‑driven pipeline that synthesizes verified web‑GUI trajectories at an average cost of only $0.04 each, producing longer interaction sequences, scaling efficiently, and demonstrably improving large‑language‑model agents on WebVoyager and grounding benchmarks.
AutoWebWorldData GenerationFinite State Machine
0 likes · 13 min read

This article introduces the concept of finite state machines, demonstrates how to implement them in Go using the looplab/fsm library with practical code examples, explains the lifecycle callbacks, and shows how to apply FSMs to real‑world scenarios such as door state management.
FSMFinite State MachineGo
0 likes · 17 min read

This article explains why finite state machines (FSM) are essential for game development, outlines their core concepts, demonstrates common pitfalls of if‑else logic, and provides step‑by‑step Unity C# examples for object state switching and intelligent NPC patrol behavior, including code snippets and integration tips.
AI code assistantC++Finite State Machine
0 likes · 14 min read

This article explains how to implement finite state machines in C using three classic approaches—switch‑case, table‑driven, and function‑pointer—detailing their structures, code examples, trade‑offs, and safety considerations for embedded and general‑purpose software development.
C++EmbeddedFinite State Machine
0 likes · 18 min read

This article explains three core ways to implement finite state machines in C—switch‑case, table‑driven, and function‑pointer approaches—detailing their structures, code examples, advantages, pitfalls, and how they relate to extended and hierarchical state machines.
C++EmbeddedFinite State Machine
0 likes · 18 min read

This article explains how to implement finite state machines in C using three approaches—switch‑case, table‑driven, and function‑pointer—detailing their structures, code examples, trade‑offs, and extensions such as compressed tables and hierarchical state machines for robust embedded systems.
C++Extended State MachineFinite State Machine
0 likes · 17 min read


政采云技术Jan 16, 2024 · Fundamentals
This article explains what a finite state machine (FSM) is, illustrates it with a car transmission example, outlines its components and diagramming, discusses its technical pros and cons, explores business benefits, and examines how state machines relate to domain‑driven design.
Design PatternFinite State Machinedomain-driven design
0 likes · 13 min read

This guide explains the fundamentals of state machines, introduces the four core concepts, shows how to model order transitions with diagrams, and provides a complete Spring Statemachine implementation—including database schema, enums, configuration, persistence, controller, service, listeners, testing, and advanced error‑handling techniques—so developers can create reliable, persisted workflows in Java.
Finite State MachineSpring StateMachinepersistence
0 likes · 30 min read

This article examines the challenges of virtual asset operations, compares workflow engines and finite state machines, outlines their core concepts, implementation methods, and open‑source options, and presents a practical internal‑DSL‑based solution for high‑performance, asynchronous backend processing.
DSLFinite State MachineJava
0 likes · 10 min read

This article examines PlayMaker, the popular Unity visual state‑machine tool, explaining its core concepts, editor features, extensibility, collaboration benefits, limitations, and how it differs from other visual‑scripting solutions, while highlighting real‑world game examples and technical insights.
Finite State MachinePlayMakerUnity
0 likes · 12 min read

This article introduces deterministic finite state machines, explains their core elements, discusses their advantages for code clarity and separation of concerns, and demonstrates a practical Java implementation for order processing in a commerce platform, including configuration, business logic, exception handling, and extensibility considerations.
Business LogicFinite State Machinestate machine
0 likes · 12 min read

This article examines the challenges faced by a transaction middleware platform, introduces a finite‑state‑machine (FSM) solution for order state flows, and compares traditional serial processing with future‑based staged concurrency and event‑driven concurrency models, highlighting their benefits and trade‑offs.
BackendConcurrencyFinite State Machine
0 likes · 11 min read

To orchestrate multi‑channel marketing activities, the article explains how a finite‑state machine models status flows, compares conditional, state‑pattern, and DSL implementations, evaluates Spring Statemachine, Squirrel, and Cola frameworks, and showcases Vivo’s high‑performance DSL‑based FSM as a practical solution.
BackendDSLFinite State Machine
0 likes · 18 min read

This article explains the fundamentals of state and strategy patterns, introduces XState as a true finite‑state‑machine library, compares it with Redux/Vuex, discusses its advantages and drawbacks, and provides practical code examples for plain JavaScript, React, Vue 3 and Promise integration.
Finite State MachineJavaScriptReact
0 likes · 24 min read

This article introduces finite‑state machines, explains their mathematical definition and classification, demonstrates a simple metro‑gate example, and provides two complete Swift implementations—one using object‑oriented design with protocols and classes and another using a functional style with generic transition structs and thread‑safe queues—followed by a real‑world keyboard‑state use case.
Finite State MachineSWIFTfunctional programming
0 likes · 18 min read

This article explains why using if‑else for state handling violates the Open‑Closed Principle, introduces the State design pattern with a light‑switch example, demonstrates its implementation in JavaScript (including class‑based and functional FSM libraries), and compares it to the Strategy pattern.
Finite State MachineFrontend DevelopmentJavaScript
0 likes · 17 min read

This article explains the challenges of managing UI state in modern web applications, demonstrates how incremental code examples lead to complex and coupled logic, and introduces XState finite state machines and statecharts as a structured solution with practical JavaScript examples and ecosystem overview.
Finite State MachineJavaScriptReact
0 likes · 9 min read


ITPUBJan 19, 2021 · Backend Development
This article explains the full design of a marketing automation system—from requirement analysis and essential capabilities to a four‑layer architecture, FSM‑based engine model, execution strategies, and key modules such as state control, time control, event rule processing, action execution, monitoring, exception handling, and data warehousing—providing a practical blueprint for developers.
Finite State MachineMarketing Automationevent-driven system
0 likes · 11 min read


58 TechJan 18, 2021 · Backend Development
This article explains the need for marketing automation, analyzes requirements, proposes system capabilities, presents a four‑layer architecture inspired by IDE/JVM concepts, and details the FSM‑based engine model with trigger, action, and execution strategies for complex multi‑step marketing scenarios.
Finite State MachineMarketing Automationbackend development
0 likes · 10 min read

This article explains how to implement a lexical analyzer in JavaScript that tokenizes simple arithmetic expressions by using a finite state machine, covering the conversion from infix notation to an abstract syntax tree, token definitions, state transitions, and complete source code examples.
ASTFinite State MachineJavaScript
0 likes · 9 min read

This article examines the evolution of Youzan's Opsflow workflow engine, detailing its architecture, components, and how it solved numerous operational challenges such as low customizability, lack of progress visibility, and fragmented approval processes, while outlining its current status and future roadmap.
DevOpsFinite State MachineOperations
0 likes · 13 min read


ITPUBJul 3, 2017 · Fundamentals
This article explains what a finite state machine (FSM) is, where it is commonly used, and walks through three C implementations—plain if/else, switch‑case, and a function‑pointer table—highlighting their advantages, drawbacks, and providing complete code examples.
C++Finite State MachineFunction Pointer
0 likes · 8 min read
