I write code and talk about writing code

When Bits Hit the TurboFan

Posted on Jun 25, 2024 @ NodeTLV

Whether knowingly or not, you probably use TurboFan. TurboFan is one part of the V8 JavaScript engine, which is the engine that runs Node (along with other JavaScript-running software, like Google Chrome). I was once blissfully unaware of TurboFan. All my JavaScript code ran without me thinking twice about how, or more importantly, how it’s running so fast. Since then I’ve come a long way, a way that included diving into TurboFan, which is only one of V8’s optimization compilers. So let me save you the time, and tell you everything you’ve ever wanted to know about TurboFan in 30 minutes. In this talk we’ll discuss the V8 engine in general, TurboFan’s place in the engine, and how it works. If you’re wondering how JavaScript optimization works, or how Node runs in general, this talk is for you.

Slides