Model every system as a statechart

tinyactors runs SCXML charts as actors inside programs that already chose their I/O, threads and memory. It is MIT licensed and maintained by _dhamidi at Amp.

Dario Hamidi

Give stateful logic one home

The state of a live websocket connection, with its retries, reconnects and timeouts, often has no clear home in a system. An actor models how one connection behaves, without the whole system in your head.

The core does no I/O, starts no threads and allocates no memory itself. So it embeds in a runtime that already decided all three.

The core uses no C library

Your program gives it an allocator, performs its effects and tells it the time.

Source:tinyactors, README.md

Maintained by _dhamidi at Amp

tinyactors is maintained by _dhamidi at Amp. Its license names Dario Hamidi as the copyright holder.

Use it under the MIT license

You may use, change and ship tinyactors in any program, keeping its copyright and permission notice.

Read the source and its tests

One repository holds the C core, the Node.js and Python packages, the conformance suite and this site. Every binding runs the same suite.

Read the sourceSee the test results

Follow each release in the changelog

Each package is released on its own. Its changelog says what changed in each release and how to upgrade.

The API is still changing: the README says breaking changes are made frequently to land on a good API.

Read the changelog