logoalt Hacker News

antonvs • yesterday at 5:16 PM • 0 replies • view on HN

I explicitly mentioned that each actor manages it's own queue, I didn't say anything about the non-existence of queues.

The distinction is between the use of queues shared between tasks and queues that are owned, and only readable by, each individual task (actor).

Another point about all this is that actors aren't just a concurrency mechanism that you can use or not as you see fit. They're a fundamental unit out of which entire applications are built. There are no function calls between actors, only message passing. This provides useful global concurrency safety properties that other systems can't match unless they essentially reimplement some similar model throughout the system.

What I'm getting at here is it's not just the properties of the individual queues that matter, but how the model is applied and enforced system-wide.