Hasty Briefsbeta

V8: Digging into the TurboFan JIT (2015)

7 days ago
  • #JavaScript
  • #V8
  • #TurboFan
  • TurboFan is a new JIT compiler in V8 designed for better performance.
  • It features a layered architecture separating JavaScript, V8 capabilities, and hardware intricacies.
  • TurboFan supports 7 target architectures with less platform-specific code than CrankShaft.
  • It implements more sophisticated optimizations like numerical range analysis and graph-based IR.
  • The design allows for easier contributions and support for upcoming ES6 features.
  • TurboFan shows significant speedups, with ongoing work to enable more optimizations.