zlacker

[parent] [thread] 2 comments
1. crusty+(OP)[view] [source] 2026-02-02 09:58:01
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(2): >>b33j0r+Kv >>koakum+WE6
2. b33j0r+Kv[view] [source] 2026-02-02 14:08:11
>>crusty+(OP)
Lock-free queues and 16-core processors exist though. I use actors for the abstraction primarily anyway.
3. koakum+WE6[view] [source] 2026-02-04 00:53:32
>>crusty+(OP)
Can you share some insights why mutexes are difficult to get correct and scalable?
[go to top]