IT lexicon › Programming › TurboFan

TurboFan

Programming På svenska → Updated: 2026-11-07
More info
Owner
Google
Released
2015
Type
Optimizing JIT compiler
Predecessor
Crankshaft

V8's top compiler tier, which turns hot JavaScript into machine code based on type guesses the program has confirmed so far.

TurboFan appeared in Chrome in 2015, initially for asm.js, and fully replaced the older Crankshaft in 2017 when the Ignition interpreter took over the bottom of the pipeline. It reads the type feedback collected by the lower tiers, specializes the code for the types that have actually shown up, and inserts checks that trigger deoptimization once a guess stops holding.

Internally it was built around the sea of nodes, a graph with no fixed basic blocks. Since 2022 the V8 team has been replacing that with the more conventional CFG-based Turboshaft, and has written openly about the free-floating graph proving hard to debug and slow to compile. The TurboFan name survives for the pipeline as a whole.

← Back to the lexicon