Alexander Slesarenko - Domain-specific Hotspot Optimization with Scalan (Ru)

While high-level abstractions greatly simplify program development, they ultimately need to be eliminated to produce high-performance code. I will present Scalan, a framework which enables compilation of high-level object-oriented-functional code in Scala into high-performance low-level code. Using simple examples we will look at compilation pipeline of Scalan in action. We start from DSL embedding, then discuss transformation and specialization techniques based on staged evaluation, then generation of efficient imperative code using Lightweight Modular Staging framework and finally performance evaluation and speedups.
Back to Top