Parallel-lazy performance: Java 8 vs Scala vs GS Collections
Parallel-lazy performance: Java 8 vs Scala vs GS Collections
Track:
Time:
Wednesday, 5:30pm - 6:20pm
Abstract:
Java 8 has Streams, Scala has parallel collections, and GS Collections has ParallelIterables. Since we use parallelism to achieve better performance, it’s interesting to ask: how well do they perform?
We’ll look at how these three APIs work with a critical eye toward performance. We’ll also look at common performance pitfalls, the performance of Java 8 lambdas, and potential optimizations to the three libraries.
Craig Motlin is the technical lead for GS Collections, a full-featured open-source Collections library for Java, and is the author of the framework’s parallel, lazy API. He has worked at Goldman Sachs for 9 years on several teams focusing on application development before moving to the JVM Architecture team to focus on framework development. He studied Computer Science and Finance at University of Pennsylvania.