Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.





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

Can you share some insights why mutexes are difficult to get correct and scalable?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: