by Peter Veentjer A major benefit of using the Typesafe Stack, including Scala and Akka, is that it simplifies the process of writing concurrent software. This article discusses how the Typesafe Stack, and Akka in particular, approaches shared memory in concurrent applications. The Java Memory Model Prior to Java 5, the Java Memory Model (JMM) was ill defined. It was possible to get all kinds of