3 ms·
At least in Erlang there is a standard state machine built-in module: https://www.erlang.org/doc/system/statem.html https://www.erlang.org/doc/system/statem.htm
by rdtsc 2y ago
At least in Erlang there is a standard state machine built-in module: https://www.erlang.org/doc/system/statem.html https://www.erlang.org/doc/system/statem.html
Most of TLS support in the built-in library is implemented using gen_statem, on top of the lower level crypto primitives provided by OpenSSL, same for SSH support.
Others have built Raft using it. It's quite nice and I appreciate that it comes as a standard module.