> For the complete documentation index, see [llms.txt](https://doc.hfsm.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.hfsm.dev/general-information/goals.md).

# Goals

[HFSM2](https://hfsm.dev/) has been created to provide a feature complete FSM framework for the needs of game and embedded development projects.

It uses template meta-programming to generate the layout of the FSM instance at compile time, sacrificing build times for reduced memory footprint and improved performance.

Beyond the basic FSM features, [HFSM2](https://hfsm.dev/) offers a set of advanced functionality, including:

* serialization
* improved debugging tools
* dynamic planning
* etc.
