Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Premature Optimization in Scala

DZone's Guide to

Premature Optimization in Scala

· Performance Zone
Free Resource

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

 

Topics:

Published at DZone with permission of Allen Coin. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}