Ross ROSS = Recommend OSS · open-source software intelligence for agents

boost-ext/sml

C++14 State Machine library observed · 2026-08-28

github.com/boost-ext/sml · homepage · C++ · BSL-1.0 (other) observed · 2026-08-28

Health v2 · maintenance only

82/100

  • Activity 96
  • Release rhythm 54
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 212.0
  • age_days: 3924
  • days_rel: 93
  • days_push: 25
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1392 stars · 203 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Boost::ext.SML is a C++14 one-header-only state machine library with no dependencies, providing a UML-compliant transition table DSL (src_state + event [guard] / action = dst_state). It is designed for fast compilation, small binaries, and scalable use in large projects as an alternative to Boost.MSM eUML.

Use cases

  • implement a finite state machine in C++
  • replace spaghetti conditional logic with a state machine
  • model protocol state transitions like TCP connection handling
  • define UML-compliant state machines with guards and actions
  • add a lightweight header-only FSM to an embedded or large-scale C++ project

When to choose

  • you need a fast-compiling, dependency-free C++ state machine library
  • you want a UML-compliant transition table DSL without macros
  • you want to pass dependencies to states/actions via constructor injection
  • you need O(1) event processing with low memory overhead

When to avoid

  • you need runtime-defined or dynamically reconfigurable state machines
  • you require Boost.MSM's full feature set or data stored in states
  • your project targets a language other than C++14 or later

Facets

library · maturity stable

state-management developer-tools developer-tools programming-languages cpp cross-platform state-machine header-only cpp14 metaprogramming uml fsm boost-ext algorithms

2 sources

Member repositories

RepositoryRoleHealth v2
boost-ext/smlmain82

For agents

markdown · JSON · MCP: product_card(name="boost-ext/sml")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem