News for hackers. Stuff that matters.
Re:Show HN: Ractor – a Rust-based actor framework with clust... by snowboarder63 on Thursday February 16, 2023 @10:49AM (#34820208)
If the actor fails, it could have failed mid-mutation so we can't trust the "state" object. This would be the same if we passed in an owned state (rather than a mutable reference) and the handler didn't reply with a new state object. If a failure happens, the state is dropped there too (in Rust). I know it's not exactly how Erlang handles it, but it's a tradeoff we've accepted in this case. We're open to suggestions however!

There are no comments on this comment yet.