Re: gemini://thrig.me/blog/2025/01/01/fsm.gmi I had a professor who taught (among many other things) the algorithms and data structures course. He showed us FSMs in that class and was like: his is a secret weapon. Especially for solving text processing problems in a language like C. And text processing is a surprisingly large class of programming problems. I (not my prof) have some code running on someone's commercial infra right now that's more-or-less one big honking event-driven FSM, and ironically not doing text processing really. FSMs are cool.
1 week ago ยท ๐ chluehr, darkghost
gemini://thrig.me/blog/2025/01/01/fsm.gmi
I use FSMs to control reactors performing very complex reactions. I find it's quite intuitive in this application space. While the progression through unit operations and phases is linear and sequential, controlling such a beast through these phases and unit operations requires honing the FSM to switch between different modes of operation to maintain control over the reaction. ยท 1 week ago