News for hackers. Stuff that matters.
Re:Show HN: Coerce – Distributed actor framework in Rust by Sytten on Saturday February 18, 2023 @10:04AM (#34847392)
I always have mixed feeling about having mut self in the handler. On one end its nice to avoid locking the inner state, but it does prevent processing of messages concurrently. This is annoying in many cases where you want for example a central state bound to an IO call.
Re:Show HN: Coerce – Distributed actor framework in Rust by klysm on Saturday February 18, 2023 @10:18AM (#34847493)
Isn’t part of the model that you only process one message at a time?
Re:Show HN: Coerce – Distributed actor framework in Rust by swoorup on Saturday February 18, 2023 @08:38PM (#34853178)
That's odd, why do you want to process message concurrently, the entire point of actor is processing one message at a time deterministically.