logoalt Hacker News

crustycodertoday at 9:58 AM1 replyview on HN

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.


Replies

b33j0rtoday at 2:08 PM

Lock-free queues and 16-core processors exist though. I use actors for the abstraction primarily anyway.