Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find information about Javascript engine internals? [closed]

Tags:

I'm looking for books / articles / papers on Javascript engine internals along the lines of the many reference works about the JVM internals, CLR internals, etc. I could (and likely will) look at the source code for JavaScriptCore and V8/Chromium, but if there's a book out there or some other "guided tour" documentation, I'd prefer to read them first. Thanks.

like image 957
Alan Avatar asked Dec 09 '08 02:12

Alan


People also ask

What is the name of JavaScript engine in Google Chrome browser?

V8 is a free and open-source JavaScript engine developed by the Chromium Project for Google Chrome and Chromium web browsers. The project's creator is Lars Bak.

Does Google Chrome include a JavaScript engine?

Chrome V8 is a JavaScript engine, which means that it executes JavaScript code. Originally, JavaScript was written to be executed by web browsers. Chrome V8, or just V8, can execute JavaScript code either within or outside of a browser, which makes server-side scripting possible.

What happens inside JavaScript engine?

JavaScript is a multi-paradigm prototype-based language, which uses JavaScript Engine such as Chrome's V8 engine Firefox SpiderMonkey engine and etc. They convert the high level code into machine-readable code which lets computer to perform some specific tasks.


1 Answers

I was curious about this too, and here's what I found:

About Chrome's Javascript engine (v8):

  • Garbage Collection in V8; For mobile and beyond
  • V8 Internals: Building a High Performance JavaScript Engine
  • Chrome V8 - Design Elements

About Firefox Javascript Engine (Spidermonkey):

  • Spidermonkey Internals
  • Spidermonkey is on diet
  • IonMonkey: Mozilla’s new JavaScript JIT compiler
  • Tracemonkey (obsolete JIT compiler, but however the article is still interesting)

About IE 9+ Javascript Engine (Chakra):

  • Advances in JavaScript Performance in IE10 and Windows 8 - Internals of Chakra

About Safari Javascript engine (SquirrelFish):

  • Announcing SquirrelFish
  • Introducing SquirrelFish Extreme

General overview:

  • JavaScript Engines: Under the Hood
  • The Future of JavaScript Engines: Replace Them With JavaScript Compilers
like image 108
franzlorenzon Avatar answered Sep 19 '22 05:09

franzlorenzon