V8 Under the Hood
summary
An overview of the V8 JavaScript engine internals: the stages code goes through in the browser from source to machine instructions, including why similar-looking code can have different benchmark results and why some tests are unreliable. A brief history of V8 from its first non-optimizing version to the current Ignition interpreter plus Turbofan optimizing pipeline, explaining how those components achieve high performance.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:00What is V8
- 4:08V8 engine history
- 8:30Hidden classes
- 13:01Crankshaft compiler
- 15:58TurboFan compiler
- 25:23Mobile performance
- 27:54Ignition interpreter
- 32:30V8 pipeline
- 35:53Optimized code tips
- 40:27Learning resources
- 42:17Q&A
related talks
17mV8 engine, JS Code Interpretation, and Execution
23mJoin the super secret V8 club & become a JavaScriptbender
57mWarm up your engine! or I know what you did last summer to V8 (UK)
22mHigh Performance JS in V8
32mV8 by example: A journey through the compilation pipeline
48mV8 Meets the Enemy
33mJavaScript: The V8 Engine optimization tips (...)
19mJavaScript Engines.The V8 Engine
