Performance Zone is brought to you in partnership with:

Allen is a content curator at DZone. He enjoys writing in the third person and composing short biographies about himself. Allen is a DZone Zone Leader and has posted 282 posts at DZone. You can read more from them at their website. View Full User Profile

Video: Premature Optimization in Scala

03.24.2013
| 1573 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