3 ms·
Actor model with preemption solves the entire thing like it was never a problem. Three axioms, one mechanism, puff, gone. But for some strange reason, bona fid
by atemerev 3y ago
Actor model with preemption solves the entire thing like it was never a problem. Three axioms, one mechanism, puff, gone.
But for some strange reason, bona fide preemptive actors exist only in Erlang and derived languages (Elixir, Gleam, etc). All other actor model implementations are cooperative in some regard, which requires some thinking on blocking/nonblocking code in actors etc. Only Erlang abstracts it all away.
- mikhailfranco 3y agoNo free lunch. Two Erlang processes doing an RPC with each other can deadlock. Of course, you remove RPCs from everything, but that requires quite a bit of thought. You can still get lunch, but it's not free.