You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create next post in OTP series: gen_statem example #146
Don't use gen_fsm, there is a new state machine behaviour, gen_statem, which has taken over. It is better and has some nice new features, like setting state timeouts and being able to postpone the handling of events to another state.
Fun! Didn't know about that one; looking forward to learning it and sharing!
Thinking maybe some simplification of insect behaviour as a moderately interesting thing to explore with a state machine ... some papers/chapters that explore this:
Activity
oubiwann commentedon Jul 6, 2020
There are a couple in the book "Designing for Scalability with Erlang/OTP" ...
oubiwann commentedon Jul 6, 2020
Some examples here, but nothing really captured my imagination: https://softwareengineering.stackexchange.com/questions/47806/examples-of-finite-state-machines
oubiwann commentedon Jul 6, 2020
Hrm ... what about agent-based modeling?
oubiwann commentedon Jul 6, 2020
Some reading materials for brainstorming:
oubiwann commentedon Jul 6, 2020
Btw, from @rvirding in a private email:
Fun! Didn't know about that one; looking forward to learning it and sharing!
oubiwann commentedon Jul 6, 2020
Also, this topic should be split into two:
gen_statem[-]Create next post in OTP series: FSM example[/-][+]Create next post in OTP series: `gen_statem` example[/+]oubiwann commentedon Jul 9, 2020
Thinking maybe some simplification of insect behaviour as a moderately interesting thing to explore with a state machine ... some papers/chapters that explore this: