Massively concurrent systems are the future, and shared data mutability is the obstacle to getting there. Where does that leave imperative languages like Java, that depend on mutation? Java 8 squares the circle with the Collectors API, which manages concurrent access to non-threadsafe mutable collections, giving the developer parallelism “for free”. Sometimes you need to change the way you think about a problem, but often all you need to do is follow a few simple rules, and your code too can be Parallel-Ready.
Maurice Naftalin has worked in the software industry for four decades as developer, designer, manager, teacher and author.
He has used every release of Java, and has written books on two of them, most recently Mastering Lambdas: Java Programming in a Multicore World, for Oracle Press. He is a frequent presenter at conferences worldwide, including JavaOne; he was a JavaOne Rockstar in 2013. He is a Java Champion.