3 ms·
For reasonable reasons in my view. The actor model is imo a great way of doing concurrency in the absence of the data race guarantee that safe rust provides at
by seanhunter 2y ago
For reasonable reasons in my view.
The actor model is imo a great way of doing concurrency in the absence of the data race guarantee that safe rust provides at compile time. If you know you have no data races, I don't think actors give you that much.
That said, some people just really like actors as a mental model and/or they want to interoperate with actor-based systems written in other languages or provide an actor substrate written in rust that will be embedded into another language perhaps? It's definitely a niche usage.
- t-writescode 2y ago> That said, some people just really like actors as a mental model This is me, for sure. "little box does one thing, processes one thing at a time, maintains the state of one thing, talks to different pieces of the system through this predefined method", etc, that actors give me is very easy for me to reason about and work with, so I use it and love it.