5 ms·
If you've ever do any game programming you'll be drowning in state machines.
by RobLach 9y ago
If you've ever do any game programming you'll be drowning in state machines.
- signa11 9y agonetwork protocol as well, hell, any non-toy network application ends up containing a state machine either implicitly or explicitly
- duxup 9y agoAs someone who troubleshot networking issues for years, god bless you.
- escapecharacter 9y agoGesture detection/interaction here. All state machines all the time.
- eeks 9y agoLife cycle management, process synchronization, lockfree data structure, user-space networking... I can't remember the last time I didn't use a state machine.
- mozumder 9y agoVHDL/Verilog as well, but that's completely obvious. I've been using state machines for Javascript UI elements.. really simplifies things.
- taneq 9y agoOr control systems (which is remarkably similar to game programming, really). Basically anything that needs to model on control a system which changes state over time. Sometimes it gets a bit too much, though, and people start seeing every task as a nail for a state-machine hammer.
- AstralStorm 9y agoAny such state model is not the actual thing it models (which is almost always stateless continuous time) therefore extremely annoying to work with. Also a source of bugs and concurrency issues.
- yoz-y 9y agoThis. When I was learning to code by making games I was making state machines without even knowing the definition.