Mechanical sympathy, or: writing fast ruby programs
Tim Kächele • September 11, 2024 • Sarajevo, Bosnia and Herzegovina • Talk
Premature optimization is the root of all evil, that's what you hear whenever someone wants to optimize something, let's break with conventions. Let's learn about the limits of modern computers, how they apply to ruby and how we can use our knowledge to write faster ruby programs.
Ruby is a magical language and it's easy to forget that at the end of the day an actual CPU is running your program, but knowing a bit about CPUs and how they work can help you speed up your programs tremendously.
In this talk we are going to look at the physical limits of modern computing and how we can apply this knowledge to write fast ruby programs.
EuRuKo 2024