Looking to improve your Scala speed?
Look no further! Software Engineer, Li Haoyi gives us a new compiler that does this for you. How?
You'll have to watch his talk from Scala Days to find out...
Double your performance: Scala's missing optimizing compiler
The JVM runs impressively fast, and Scala has reasonable speed, but you still need to contort your Scala code to reach peak performance. Whether turning for-loops into while-loops, manually fusing map/filter/reduce, or replacing functions with macros, these changes are tedious and error-prone.
We present a new compiler that does this for you: taking high-level Scala and running it with optimal JVM performance. We explore how even high level concepts like monadic interpreters can be optimized into zero-cost abstractions, giving real-world speed-ups when applied to real-world applications.