JSFoo 2012

It’s like kung fu with JavaScript and objects! All about building full size apps in JavaScript.

Shashwat Agarwal

Shashwat Agarwal

@shashwatag

Compare and contrast internals of two (SpiderMonkey and V8) Javascript Engines

Submitted Sep 18, 2012

We will explore how javascript executes on two of the most popular web browsers’ javascript engines - Spidermonkey (Firefox) and V8 (Chrome) and why some good javascript coding practices are good.

Outline

The session will compare and contrast Spidermonkey and V8 based on various aspects such as garbage collection, machine code generation, object property access etc.

Why we did this? We wanted to understand how can we write better javascript, why some paradigms are efficient. And foremost, when one javascript engine is better than the other.

In this session, we will explore and compare the architecture of the two engines. We will see how these engines score when executing common javascript code, using some of the popular libraries. And then we will find out what is the reason behind the difference.

Speaker bio

Shashwat Agarwal is Architect @ Flipkart and is part of the Data Platform effort at Flipkart. Started with writing plain JS, to GWT and now using jquery/prototype.js.

Ravi Tandon and Ankit Mehta have recently stepped into the world of Flipkart and are the key members driving the adoption of node.js at Flipkart.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more