There are several videos, blog posts etc. about the technical details of Google V8 on the web. Does anybody know of a written paper (journal article, working paper, manual ...) explaining the inner mechanisms of Google V8 and the design decisions made? (E.g. explaining which optimizations it uses, how these are achieved etc.?)
- Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.zzzzBov– zzzzBov2014-07-06 05:56:24 +00:00Commented Jul 6, 2014 at 5:56
- Did you try Googleadeneo– adeneo2014-07-06 05:59:03 +00:00Commented Jul 6, 2014 at 5:59
- @adeneo: Yes, of course. I know that website.JohnB– JohnB2014-07-06 05:59:56 +00:00Commented Jul 6, 2014 at 5:59
- 2@zzzzBov: Well, I'm neither asking about finding a tool nor a library nor a favourite off-site resource, but about the existence of technical documentation for one of the most widely used JS engines. A good answer to this question might be helpful for a lot of people, I guess. I do not see much room for opinion there, as the only possible answer can be of the form "Yes, there is a paper, look here ... "JohnB– JohnB2014-07-06 06:09:02 +00:00Commented Jul 6, 2014 at 6:09
Add a comment |
1 Answer
Unfortunately, there aren't many scientific papers about V8's implementation. The only proper one is a recent paper on ISMM about allocation folding. I wish there were more, but the reality is that the V8 team doesn't get paid to write papers, even if we'd like to.
There also have been a couple of recent V8-related papers from other sources. Unfortunately, they have to rely on second-guessing V8's sources and underlying design decisions, and I would recommend taking the conclusions and results reached in such papers with several grains of salt.