Hacker News new | ask | show | jobs
by overkalix 2223 days ago
Isn't that the basis/point of the actor model? Actors can message each other and processing the message can trigger state mutation of the recipient, but they can't directly mutate each other.
1 comments

All data is immutable on the BEAM with a few exceptions, so no mutation within actors.
No, that's not true. Actors in elixir/erlang mutate their state through tail call recursion through the loop function.
I said data is immutable on the BEAM, actors can update their state.