Day 2 -

June 6th

Track 1 (Olympic Room)

17:30 - 18:30

Micro-Optimization for Fun and Profit

Micro-optimizing critical path performance within a Scala application can be an extremely important development task, but even after nearly three decades of the JVM’s existence, the tricks, techniques and methodologies are too often treated as a black art, understood only by a select few.

The purpose of this talk to is to peel back the curtain on some of the general patterns and ideas behind micro-optimization on the JVM. While Cats Effect IO is used as a running practical example, this is not a Cats Effect specific talk, nor even a discussion of functional programming! Instead, this talk focuses on the fundamentals of how the JVM works, how hardware works, how the Scala compiler works, and how we can exploit this knowledge when needed to write code which is dramatically faster without sacrificing functionality.

Daniel Spiewak

The Walt Disney Company

Daniel Spiewak is a software developer based out of Boulder, CO. Over the years, he has worked with Scala, Java, Ruby, Haskell, C/C++, SML, Clojure, and countless other languages, covering topics ranging from type theory, compiler and language design, globally distributed systems, JVM optimization, data structures, mechanical sympathy, and much more.

He currently spends most of his free time maintaining the Cats Effect project and continuing to push the boundaries of what is possible at the intersection of mathematical laws and highly scalable production implementations.


Join our conference

Subscribe and follow @ScalaDays on Twitter for the latest conference updates.