4 ms·
I learn about Actor model via Elixir/Erlang. A good place to start is perhaps learning Elixir and eventually move to OTP and it's actor model. Actor are just
by anthony_doan 7y ago
I learn about Actor model via Elixir/Erlang.
A good place to start is perhaps learning Elixir and eventually move to OTP and it's actor model.
Actor are just processes in Erlang/Elixir (underlying implementation is a thread that doesn't share anything) that isolate logic (self contained) and if it goes down it doesn't take any thing else down. So it's OO that way. It helps that functional paradigm good practices is small compose-able function that does one thing. You compose these functions into a logic and wrap it in these processes and treat them like objects.