sml2

C++20 State Machine library (by boost-ext)

Sml2 Alternatives

Similar projects and alternatives to sml2

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better sml2 alternative or higher similarity.

sml2 reviews and mentions

Posts with mentions or reviews of sml2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • Sharing Saturday #496
    6 projects | /r/roguelikedev | 8 Dec 2023
    Anyway the need is not complicated, I need both entry and exit functions from every state, optionally allowing these functions to be coroutines (that's special sauce but for later), and an explicit state transition table which also have a way to say that a state can be accessed at any point. Also allow states to be state machines, optional FSM hierarchies. If you ignore the coroutine stuff it's pretty standard features these days, except that - Boost.MSM is quite archaic now (it was so novel when it was first released...) although it allows most of the features I talked about, I just think it will complicate my code unneecessarilly; - Boost-Ext.SML (not Boost) is almost perfect except it doesnt have entry/exit functions on states for some reason. Also last time we (as in in livestream) tried it in prototypes it didnt compile on msvc XD - Boost-Ext.SML2 is even better but still doesnt have entry/exit functions although it's in the plans.
  • C++20 State machine library which fully tests itself at compile-time upon use
    1 project | news.ycombinator.com | 6 Sep 2023

Stats

Basic sml2 repo stats
2
133
7.6
8 days ago

boost-ext/sml2 is an open source project licensed under Boost Software License 1.0 which is an OSI approved license.

Popular Comparisons


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com