<HTML>
<HEAD>
<TITLE>Re: [squeak-dev] Fwd: Chrome and V8</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
The source code is available at: <a href="http://code.google.com/p/v8/">http://code.google.com/p/v8/</a><BR>
<BR>
<BR>
On 9/2/08 3:23 PM, &quot;John M McIntosh&quot; &lt;johnmci@smalltalkconsulting.com&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>---------- Forwarded message ---------- <BR>
From: Dave Griswold &lt;David.Griswold.256@gmail.com&gt; <BR>
Date: Tue, 2 Sep 2008 12:14:32 -0700 (PDT) <BR>
Subject: Chrome and V8 <BR>
To: Strongtalk-general &lt;strongtalk-general@googlegroups.com&gt; <BR>
<BR>
<BR>
Hi everyone, <BR>
<BR>
It's been a while, but now that Google has announced Chrome and V8, I <BR>
can finally make a little clearer a major reason why I haven't been <BR>
pushing Strongtalk development for quite a while: Chrome's new <BR>
JavaScript engine V8. <BR>
<BR>
The V8 development team has multiple members of the original <BR>
Animorphic team; it is headed by Lars Bak, who was the technical lead <BR>
for both Strongtalk and the HotSpot Java VM (as well as a huge <BR>
contributor to the original Self VM). &nbsp;&nbsp;I think that you will find <BR>
that V8 has a lot of the creamy goodness of the Strongtalk and Self <BR>
VMs, with many big architectural improvements: <BR>
<BR>
* open source <BR>
* will run (eventually) on Windows, Linux, and Mac <BR>
* dynamically JITs to native code <BR>
* can run completely independently from the browser <BR>
* generates hidden classes behind the scenes, since javascript doesn't <BR>
have them (very reminiscent of the 'maps' used in the Self VM). <BR>
* is multi-threaded from the ground up, with the ability to share VM <BR>
overhead between different OS processes. <BR>
* has even smaller object headers than in Strongtalk, making small <BR>
object overhead even smaller <BR>
* kick-ass compacting, non-conservative garbage collector <BR>
<BR>
The really big deal here is the fundamentally multi-threaded, multi- <BR>
process nature of the VM. &nbsp;That is something that we don't really have <BR>
the ability to just hack into the Strongtalk VM; it would involve <BR>
practically an entire rewrite. &nbsp;Plus, expect a lot of architectural <BR>
improvements in the source code based on experience with Self, <BR>
Strongtalk and Java Hotspot VMs. <BR>
<BR>
I think these properties will rapidly make V8 the dominant VM for <BR>
dynamic languages. &nbsp;It ought to make a great platform for Smalltalk. <BR>
<BR>
Since I am not a Googler, and they are so secretive, I am not yet <BR>
privy to all the gory details, but I suspect that it probably won't <BR>
use type-feedback like Strongtalk, which would be the one big negative <BR>
(and would mean that it wouldn't be as fast as Strongtalk). &nbsp;However I <BR>
don't know that for sure, and in any case it will be open source, <BR>
which means that it might be a nice platform to add type-feedback- <BR>
based inlining to if they don't do it. &nbsp;At any rate, it *does* JIT to <BR>
native code, so it will be far faster than Squeak, and probably a lot <BR>
faster than Visualworks as well. <BR>
<BR>
We'll have to see what the details are when the code comes out, but <BR>
the release of the V8 VM is the beginning of a whole new era for <BR>
dynamic languages (Smalltalk, Ruby, Python, etc). <BR>
<BR>
Let the flood of fast new dynamic language implementations begin! <BR>
--~--~---------~--~----~------------~-------~--~----~ <BR>
You received this message because you are subscribed to the Google <BR>
Groups &quot;Strongtalk-general&quot; group. <BR>
To post to this group, send email to strongtalk-general@googlegroups.com <BR>
To unsubscribe from this group, send email to <BR>
strongtalk-general+unsubscribe@googlegroups.com <BR>
For more options, visit this group at <BR>
<a href="http://groups.google.com/group/strongtalk-general?hl=en">http://groups.google.com/group/strongtalk-general?hl=en</a> <BR>
-~----------~----~----~----~------~----~------~--~--- <BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
----------=-=-=-=-=-=-=-=-========oOo========-=-=-=-=-=-=-=-=----------<BR>
<a href="mailto:Ronald.P.Welch@BAESYSTEMS.com">mailto:Ronald.P.Welch@BAESYSTEMS.com</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Phone:(607)770-3701<BR>
BAE SYSTEMS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;600 Main St Johnson City, NY 13790-1888<BR>
----------=-=-=-=-=-=-=-=-===================-=-=-=-=-=-=-=-=----------<BR>
</SPAN></FONT>
</BODY>
</HTML>