Re:Swift Evolution: Actors
by zamalek on Tuesday March 16, 2021 @10:27PM
(#26485799)
> How do you isolate things when there's shared memory?
That's precisely what actors aim to solve. Actors pass messages, not memory.
> Akka
If you look at an actor framework built in a feature-rich language (Orleans), that problem isn't apparent at all. Even Rust, with all the ownership complexity, manages to do elegantly handle actors, without an explicit plan to do so. Your critique is more relevant to Java than actor libraries.
That's precisely what actors aim to solve. Actors pass messages, not memory.
> Akka
If you look at an actor framework built in a feature-rich language (Orleans), that problem isn't apparent at all. Even Rust, with all the ownership complexity, manages to do elegantly handle actors, without an explicit plan to do so. Your critique is more relevant to Java than actor libraries.