Javascript and v8 design resources

paul99 edited this page Mar 28, 2011 · 4 revisions

Here are links to web pages, documents, videos that can help with the v8 learning curve.


There are lots of books published, here are two that seem to be universally recommended:

  • Javascript: The Good Parts, Douglas Crockford
    • This is a biased (but good) editorial on the language, and what parts are well-done, and what parts should be avoided. Of course, v8 must implement it all, but this is a interesting and useful book regardless.

Google v8 documents and videos.

Read everything on this group of pages, especially the Design Elements and Embedder’s Guide

Here are some good videos. Nice if you have the time to watch, but I downloaded and just listened to them as podcasts while driving. I found that after 3-4 weeks of working with v8 I got a lot more out of these by watching them again.

Academic papers.

The following papers describe techniques used in v8.

1. Efficient Implementation of the Smalltalk-80 System
L. Peter Deutsch, Allan M. Schiffman
1983 ACM 0-89791-125-3/84/001/0297
A crappy scan, but it is free

2. An Efficient Implementation of SELF, a Dynamically-Typed Object-Oriented Language Based on Prototypes
Craig Chambers, David Ungar, Elgin Lee
Lisp and Symbolic Computation: An International Journal, 4-3-1991
Nice PDF of this article

Assembly language references.

For code generation, you obviously need to understand the instruction set. Each vendor probably releases their latest info under NDA. Please do not put anything proprietary or restricted here, but links to publically available info are great. I’d appreciate people updating these links with better information.


Please see MIPS references on this page: MIPS instruction set and v8