Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Micro-Optimization for Fun and Profit - Scala Days Seattle

Scala Days Conferences via YouTube

Overview

Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
This course on micro-optimization aims to teach learners the general patterns and ideas behind optimizing performance on the JVM. The course covers understanding how the JVM, hardware, and Scala compiler work to exploit this knowledge for faster code without compromising functionality. The course teaches skills such as implementing IO, working with fibers, measuring performance, micro-benchmarking, and optimizing code for speed. The teaching method involves practical examples, explanations of fundamental concepts, and insights into optimization techniques. This course is intended for software developers interested in improving the performance of Scala applications on the JVM.

Syllabus

Intro
Dont microoptimize
Simplified IO
GitHub
Physical Factors
Layers of abstraction
Happy paths and unhappy paths
What is slow
What is fast
Pro tip
Implementing IO
IO Fiber
IL Fiber
Run
Continue
Async
Measuring
SBTJMH
Micro Benchmarks
Micro Optimizations
Allocation Free Stack
Continuation Stack
Dynamic Arrays
Array Stack
Array Copy
Benchmarks
Why did it get worse
The results
Why I tried different array bounds
The problem with micro benchmarks
Optimization for fun
The answer
The solution
Bias
Allocation Free Results
Encoding
Results
Pattern Matching
If Else
Deftag
Invoke Virtual
More Stack Less Game
Current
Faster
Takeaways

Taught by

Scala Days Conferences

Reviews

Start your review of Micro-Optimization for Fun and Profit - Scala Days Seattle

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.