logoalt Hacker News

antonvs • yesterday at 3:19 PM • 0 replies • view on HN

> I don't have to care about "who" the recipient is, just the job that I expect will be done by depositing something to a queue.

I mentioned that in my first comment. In actor systems, the idiomatic model is just to spawn a new actor for each job.

But if you want a multi-reader message queue, you can implement an actor that provides that, and there are standard implementations of this.

Actors are the primitive mechanism on which other concurrency mechanism can be built, without all the problems of traditional threads.