Tech Tree of the Web

The history of web technology, 1945 to now: 112 ideas and the lines between them. Drag, scroll or press ← → to travel. Open any one for its story.

No. 079 / 112Seen 0 / 112Colophon

The Platform

V8, 2008. Era V, The Platform.

Era V · 2008–2016

← drag · scroll · arrow keys →

2008V8d8> 0.1 + 0.20.30000000000000004d8> typeof null"object"

V8's own shell, d8, compiling JavaScript straight to machine code, quirks and all. Typeset for this timeline: no licence-clean photograph of the thing itself was found.

Key details

When
2008 (open-sourced with Chrome, 2 September 2008)
Who
Lars Bak and the V8 team at Google
Where
Google, Aarhus, Denmark
Answered
Google needed a new JavaScript engine for its Chrome web browser.
Led to
Its speed made large web apps practical, and it was embedded outside the browser in Node.js, Deno and Electron.

No. 079 · 2008 · Script · Era V, The Platform

V8

Compiled JavaScript to machine code, making it fast enough for large apps and, later, for servers.

Facts

  1. Google hired Lars Bak in autumn 2006 to build a new JavaScript engine for Chrome. 2
  2. V8's initial commit is dated June 30, 2008, and it went open source the same day Chrome launched, September 2, 2008. 2
  3. Crankshaft, released December 7, 2010, generated code twice as fast and 30% smaller than V8's previous compiler. 2
  4. From V8 5.9 in 2017, the Ignition interpreter and TurboFan compiler replaced Full-codegen and Crankshaft. 1
  5. Node.js, first released in 2009, embeds V8, and the V8 team recognized it as a first-class embedder in 2017. 2

Quirks

  • The early V8 team worked in an outbuilding on Lars Bak's farm in Aarhus, Denmark. 2
  • The name V8 is a playful reference to the engine found in a classic muscle car. 2
  • The original Chrome comic explicitly mentioned that non-browser projects could embed V8. 2

Sources

  1. Wikipedia, V8 (JavaScript engine)
  2. V8 blog, "Celebrating 10 years of V8"
Came from
Led to