The Things Scala.js Does to Make Your Code Fast
Offered By: Scala Days Conferences via YouTube
Course Description
Overview
Explore the advanced optimization techniques employed by Scala.js to achieve runtime performance comparable to hand-written JavaScript in this 54-minute conference talk from Scala Days New York 2016. Delve into typical Scala.js code snippets and examine how the optimizer transforms them, gaining insights into optimizable patterns and current limitations. Learn key strategies for writing efficient Scala.js code, including the surprising efficiency of idiomatic Scala constructs like for loops and map/filter operations. Discover the power of closure elimination and the Scala optimizer while following along with benchmarks, generative code examples, and speed tests. Suitable for those familiar with Scala and able to read JavaScript, this talk requires no compiler knowledge and focuses on source code level optimizations.
Syllabus
Intro
Benchmarks
generative code
longs
map
speed test
trades
Optimization
Results
Closure Elimination
Scala Optimizer
Questions
Taught by
Scala Days Conferences
Related Courses
Scala.js - Getting the Best of JavaScript and ScalaDevoxx via YouTube Teaching Domain Specific Languages in Scala
Scala Days Conferences via YouTube Writing a Database in Scala.js
Scala Days Conferences via YouTube Scala.js and WebAssembly - A Tale of the Dangers of the Sea
Scala Days Conferences via YouTube Monix Task - Lazy, Async and Awesome
Scala Days Conferences via YouTube