Video

Get the Flash Player to see this video.

For the best quality, click on the zoom button in the right corner.

Playback buffering? Try the lower quality version. You can also download the mp4 version.

Presentation slides (pdf).
 

Type Specialization in Scala
Iulian Dragos

Compilation of polymorphic code through type erasure gives compact code but performance on primitive types is significantly hurt. Full specialization gives good performance, but at the cost of increased code size and compilation time. Instead we propose a mixed approach, which allows the programmer decide what code to specialize. Our approach supports separate compilation, allows mixing of specialized and generic code, and gives very good results in practice.