News for hackers. Stuff that matters.
Re:Actor system for the JVM developed by Electronic Arts by ackfoobar on Thursday April 28, 2022 @06:13PM (#31198865)
Well I misread and couldn't edit now.

What I meant is that you can launch a co/go-routine and have a channel that only it can read. That is like 70% the power of having an actor system.

---

> an actor vs a queue with workers

See the sibling comment.

TLDR: Actors each has their own queue. The orderings in each queue are independent. This can help with parallelization if it fits the shape of the problem.

Re:Actor system for the JVM developed by Electronic Arts by imtringued on Friday April 29, 2022 @03:00AM (#31202205)
>What I meant is that you can launch a co/go-routine and have a channel that only it can read. That is like 70% the power of having an actor system.

You can also iterate over an array in parallel and only modify the current element and that is like 70% of the power of having an actor system.

"Structured concurrency is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by using a structured approach to concurrent programming." - Wikipedia