3 ms·
You are using mutexes, they are on the Actor message queues, amongst other places. "Just use mutexes" suggests a lack of experience of using them, they are very
by crustycoder 8mo ago
You are using mutexes, they are on the Actor message queues, amongst other places. "Just use mutexes" suggests a lack of experience of using them, they are very difficult to get both correct and scalable. By keeping them inside the Actor system, a lot of complexity is removed from the layers above. Actors are not always the right choice, but when they are they are a very useful and simplifying abstraction.
Horses for courses, as they say.
- b33j0r 8mo agoLock-free queues and 16-core processors exist though. I use actors for the abstraction primarily anyway.
- koakuma-chan 8mo agoCan you share some insights why mutexes are difficult to get correct and scalable?