<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developer Oracles &#187; v8 javascript</title>
	<atom:link href="http://devoracles.com/tag/v8-javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://devoracles.com</link>
	<description></description>
	<lastBuildDate>Sun, 21 Mar 2010 11:05:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>v8 Javascript Virtual Machine: Welcome in the new era of the web</title>
		<link>http://devoracles.com/v8-javascript-virtual-machine-welcome-in-the-new-era-of-the-web/169</link>
		<comments>http://devoracles.com/v8-javascript-virtual-machine-welcome-in-the-new-era-of-the-web/169#comments</comments>
		<pubDate>Sat, 13 Sep 2008 16:29:48 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[ecma-252]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[v8 javascript]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=169</guid>
		<description><![CDATA[First let&#8217;s see what is this mysterious thing which has been included in Google Chrome and , well, created a smaller storm amongst the developers. Well, maybe it was only a wind. Or whisper?
It&#8217;s a C++ engine which can be embedded in any other C++ application freely. It parses the Javascript (ECMA-262 standard), collects the [...]]]></description>
			<content:encoded><![CDATA[<p>First let&#8217;s see what is this mysterious thing which has been included in Google Chrome and , well, created a smaller storm amongst the developers. Well, maybe it was only a wind. Or whisper?</p>
<p>It&#8217;s a C++ engine which can be embedded in any other C++ application freely. It parses the Javascript (<a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">ECMA-262 standard</a>), collects the memory garbage (small chunks of memory which are a result of closed processes) and handles memory allocation. It should speed up script execution a big time.</p>
<p>Google claims that Chrome, thanks to V8 is 10 times faster than Firefox 3.0 . As <a href="http://darrenhobbs.com/?p=516">Darren Hobbs states on his blog</a>, you can optimize a code for a benchmark, so maybe Google&#8217;s benchmarks are not as accurate as they state. Anyway, a quick test on a Javascript Benchmarking tool gave the following results:</p>
<ul>
<li>Firefox 3.0  &#8212; 27535.2ms +/- 7.0%</li>
<li>Chrome &#8212; 5127.6ms +/- 3.7% (WOW!)</li>
<li>Safari (win) &#8212; 9317.6ms +/- 9.4% </li>
<li>IE 7.0 &#8212; 81825.4ms +/- 3.0%</li>
</ul>
<p>That means that it&#8217;s not 10 times faster, but only 5. Not that it&#8217;s not enough!<br />
By the way, see the IE result? Impressive, I have to admit, it&#8217;s the slowest browser when talking about Javascript.</p>
<p>I&#8217;m not a C developer, I know only basic stuff, but when I saw the V8 source code I was amazed! The assembly code is generated dynamically. I always knew this is possible, I even heard that it&#8217;s an extremely effective way to create high performance applications, I just never used it. For me it&#8217;s quite hard to understand though. But as for the applications, it&#8217;s a very effective way.</p>
<p>So, the verdict on V8: the test talks for itself, the Chrome engine thanks to V8 and WebKit is extremely fast Javascript executor, the code behind V8 is designed to be very fast, it follows the current standards.</p>
<p>If you develop some application which could use the V8 engine, I say try it. You can only win.</p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/v8-javascript-virtual-machine-welcome-in-the-new-era-of-the-web/169/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
