Y
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
lpil
2223 days ago
All data is immutable on the BEAM with a few exceptions, so no mutation within actors.
link
dnautics
2223 days ago
No, that's not true. Actors in elixir/erlang mutate their state through tail call recursion through the loop function.
link
lpil
2222 days ago
I said data is immutable on the BEAM, actors can update their state.
link