Show HN: µFSM – A state chart library for embedded applications
1–10 of 35 posts
Re: Show HN: µFSM – A state chart library for embedded applications
#2Embedded shouldn't rhyme with "C".
Re: Show HN: µFSM – A state chart library for embedded applications
#3Re: Show HN: µFSM – A state chart library for embedded applications
#4Re: Show HN: µFSM – A state chart library for embedded applications
#5Probably worth having a look at this: https://youtu.be/c9Xt6Me3mJ4?t=4196 Embedded shouldn't rhyme with "C".
Writing in C means you can get small binaries, with minimal runtimes, easy control over things like memory allocation, and if you want to use the library you don't have to write C because almost any language with any form of FFI is going to target C before it targets C++.
Re: Show HN: µFSM – A state chart library for embedded applications
#6A must read for anyone interested https://statecharts.github.io/ Also I highly recommend to check out `xstate` TypeScript library. It's a breeze to work with it.
Re: Show HN: µFSM – A state chart library for embedded applications
#7Re: Show HN: µFSM – A state chart library for embedded applications
#8Regardless, this looks very cool I will dive in later.
Re: Show HN: µFSM – A state chart library for embedded applications
#9In my case, when I want to use a state machine for a project, I usually go with Quantum Leaps [1] tools. Nowadays their website seems cluttered and management-focused, but the tech is solid and the tools are very robust.
They also distribute a book [2] on how to use the model using their framework as an example, and I even implemented my version of it as an exercise years ago.
It does not have (or did not, I haven't checked in the last few years) a tool to translate from XMI to their framework, but they have a freeware to draw the chart. Frankly, I have not even used it: I draw the state machine using some editor and it is easy enough to translate to code and maintain. Maybe not the best, but up until now, very nice to deal with the limited complexity of most embedded systems.
[1] https://www.state-machine.com/doc/concepts#HSM [2] https://www.state-machine.com/psicc2/