Performance Zone is brought to you in partnership with:

Allen is a published fiction and non-fiction writer working on his second novel. He currently resides in Hanoi, Vietnam where he is traveling around SE Asia. He is an avid reader and lifelong geek interested in fiction, philosophy, and technology. Allen is a DZone Zone Leader and has posted 284 posts at DZone. You can read more from them at their website. View Full User Profile

Video: Premature Optimization in Scala

03.24.2013
| 1736 views |
  • submit to reddit

 

Erik Osheim, Senior R&D Engineer at Precog, delivers a talk focusing on low-level optimization in Scala and strategies to help the JVM run faster. Sounds simple enough, but as Erik mentions it often gets more complicated.

This talk, for the Northeast Scala Symposium, provides tips to avoid "premature optimization." John address, and creates solutions for, many issues that can arise. Some of these topics include:

HotSpots
Arrays
Specialization successes (& failures)
Boxing & GC pressure
Inlining limitations
Reading Java Bytecode
Profiling & benchmarking

Reference: https://www.youtube.com/watch