u/woupiestekin r/scala • Recommends
On “Difference between AKKA and ZIO”
Kevlin Henney sometimes talks about the synchronization quadrant, which makes the difficulty with concurrent programming clear. Check out https://www.slideshare.net/Kevlin/thinking-outside-the-synchronisation-quadrant or [video for the whole story. In short, most of the problems stem from sharing mutable data. Such data forces threads to synchronize, which in turns causes a number of other problems for programmers to solve.
Akka and ZIO escape the synchronization quadrant in opposite directions. The actors of Akka's actor model don't share data--except by sending each other immutable messages--and therefore have a single-threaded view of the world, so no explicit synchronization is need…