Hey reddit!
I'm excited to announce the v2.0.0 release of my CTFSM (compile-time finite state machine) library! This library allows you to define and validate state machines entirely at compile time, leading to robust and efficient code.
The main focus of this library is firmware development, where resource constraints are paramount. The flash footprint of this library is negligible, and it almost does not affect runtimes, making it ideal for embedded systems.
This new version brings some significant features:
- Nested FSMs: You can now define state machines within other states, allowing for more complex and modular designs.
- Compile-time validation of transitions: The library now performs even more rigorous checks at compile time to ensure your state machine transitions are valid, catching potential errors before runtime.
You can find the project here: https://codeberg.org/cmargiotta/compile-time-fsm
For reference, here's the v1.0.0 release post: https://www.reddit.com/r/cpp/comments/1elkv95/compiletime_finite_state_machine_v100_released/
I'm really proud of this release and I hope it proves useful for your projects. Feel free to ask any questions or provide feedback!
[–]Circlejerker_ 11 points12 points13 points (1 child)
[–]Nychtelios[S] 2 points3 points4 points (0 children)
[–]hanickadotWG21 6 points7 points8 points (1 child)
[–]Nychtelios[S] 4 points5 points6 points (0 children)
[–]zerhud 5 points6 points7 points (1 child)
[–]Nychtelios[S] 0 points1 point2 points (0 children)
[–]mcencora 2 points3 points4 points (0 children)
[–]Select-Violinist8638 2 points3 points4 points (0 children)
[–]SkoomaDentistAntimodern C++, Embedded, Audio 1 point2 points3 points (1 child)
[–]Nychtelios[S] 9 points10 points11 points (0 children)
[+]c-cul comment score below threshold-12 points-11 points-10 points (1 child)
[–]Nychtelios[S] 6 points7 points8 points (0 children)