<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Which VM?</title>
	<atom:link href="http://offthelip.org/?feed=rss2&#038;p=112" rel="self" type="application/rss+xml" />
	<link>http://offthelip.org/?p=112</link>
	<description>Code weavings for the surf addicts</description>
	<lastBuildDate>Thu, 19 Aug 2010 01:12:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kirby Urner</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-24161</link>
		<dc:creator>Kirby Urner</dc:creator>
		<pubDate>Thu, 11 Feb 2010 06:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-24161</guid>
		<description>The new Google Go language seems like it might serve as a basis for a new VM, including for Python.  Languages and VMs jump around.  Python currently targets the Java VM (Jython), the .NET/Mono VM (IronPython), plus has its own C language VM.  Then there&#039;s the PyPy VM and Unladen Swallow.  Why stop there?  A VM in the Go language would probably be at least as powerful as a VM in the C# language.</description>
		<content:encoded><![CDATA[<p>The new Google Go language seems like it might serve as a basis for a new VM, including for Python.  Languages and VMs jump around.  Python currently targets the Java VM (Jython), the .NET/Mono VM (IronPython), plus has its own C language VM.  Then there&#8217;s the PyPy VM and Unladen Swallow.  Why stop there?  A VM in the Go language would probably be at least as powerful as a VM in the C# language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Has the JVM design been holding back Java? &#124; Chui&#8217;s counterpoint</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-5236</link>
		<dc:creator>Has the JVM design been holding back Java? &#124; Chui&#8217;s counterpoint</dc:creator>
		<pubDate>Thu, 18 Sep 2008 01:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-5236</guid>
		<description>[...] 1Update 5 Sept, I was wrong. See this 2Incidentally, addressing this use-case on the server-side could be a boon for Java on shared hosters. I would like to see the JVM be a viable competitor to PHP. See Matthieu Riou. [...]</description>
		<content:encoded><![CDATA[<p>[...] 1Update 5 Sept, I was wrong. See this 2Incidentally, addressing this use-case on the server-side could be a boon for Java on shared hosters. I would like to see the JVM be a viable competitor to PHP. See Matthieu Riou. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: turtlewax</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-5210</link>
		<dc:creator>turtlewax</dc:creator>
		<pubDate>Wed, 17 Sep 2008 00:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-5210</guid>
		<description>&gt;&gt;arenâ€™t that many robust languages implementations 
&gt;&gt;running on Mono

What about java; runs well enough in ikvm in both .NET and mono.I&#039;ve had a lot of success running the java ant  libraries in .NET via ikvm</description>
		<content:encoded><![CDATA[<p>&gt;&gt;arenâ€™t that many robust languages implementations<br />
&gt;&gt;running on Mono</p>
<p>What about java; runs well enough in ikvm in both .NET and mono.I&#8217;ve had a lot of success running the java ant  libraries in .NET via ikvm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chui</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-4852</link>
		<dc:creator>Chui</dc:creator>
		<pubDate>Fri, 05 Sep 2008 00:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-4852</guid>
		<description>@Uli: If Flash had the same start-up time as Java applets, it would have been DOA years ago.</description>
		<content:encoded><![CDATA[<p>@Uli: If Flash had the same start-up time as Java applets, it would have been DOA years ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cyrus</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-4530</link>
		<dc:creator>Cyrus</dc:creator>
		<pubDate>Thu, 28 Aug 2008 21:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-4530</guid>
		<description>Second to LLVM.  Language interoperability is only feasible if your virtual machine supports a superset of all the features of all the languages you want to support. LLVM can support everything from C (imagine that, C running within your VM rather than some crazy serialization scheme to call &quot;native&quot; code) to LISP (which requires an unhealthy amount of access to internals to support all the dynamicism it supports, particularly with regard to run-time modification of code.)

Apple is behind LLVM and many of the LLVM developers are now Apple employees. Its even deployed in some of Apple&#039;s legacy interop code for their graphics subsystems.

What is really needed is a couple of killer apps.  Show that Python can run faster in LLVM than the Python VM, for example.  Build a Firefox LLVM plug-in that JIT&#039;s Javascript faster than Spidermonkey, and lets you program the DOM with your choice of language at that.

Since it was originally an academic project, there isn&#039;t a drive in the community to go through the &quot;uninteresting&quot; parts that would be required for a full implementation of a popular language. Apple might do it for Objective-C, but they don&#039;t care about other languages. I&#039;m hopeful someone will step up and give it some love, and if so it will be the next big thing. Otherwise, I&#039;m going to have to go with the DLR unless the Tamarin teams puts in the effort to go language-neutral.</description>
		<content:encoded><![CDATA[<p>Second to LLVM.  Language interoperability is only feasible if your virtual machine supports a superset of all the features of all the languages you want to support. LLVM can support everything from C (imagine that, C running within your VM rather than some crazy serialization scheme to call &#8220;native&#8221; code) to LISP (which requires an unhealthy amount of access to internals to support all the dynamicism it supports, particularly with regard to run-time modification of code.)</p>
<p>Apple is behind LLVM and many of the LLVM developers are now Apple employees. Its even deployed in some of Apple&#8217;s legacy interop code for their graphics subsystems.</p>
<p>What is really needed is a couple of killer apps.  Show that Python can run faster in LLVM than the Python VM, for example.  Build a Firefox LLVM plug-in that JIT&#8217;s Javascript faster than Spidermonkey, and lets you program the DOM with your choice of language at that.</p>
<p>Since it was originally an academic project, there isn&#8217;t a drive in the community to go through the &#8220;uninteresting&#8221; parts that would be required for a full implementation of a popular language. Apple might do it for Objective-C, but they don&#8217;t care about other languages. I&#8217;m hopeful someone will step up and give it some love, and if so it will be the next big thing. Otherwise, I&#8217;m going to have to go with the DLR unless the Tamarin teams puts in the effort to go language-neutral.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthieu Riou</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-4525</link>
		<dc:creator>Matthieu Riou</dc:creator>
		<pubDate>Thu, 28 Aug 2008 15:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-4525</guid>
		<description>@Paul: I&#039;ve checked LLVM some time ago and they seemed more interested in low level languages like C, C++ and Forth. As a result they were missing higher-level features like a garbage collector. It seems that they&#039;ve fixed that recently though so it might be worth another look.
And Javascript for now is still painfully slow...

@Assaf: If so, they&#039;re far from ready. Last time I checked the Tamarin Javascript compiler (called ESC) didn&#039;t work for even simple expressions. And they don&#039;t seem to be working very actively on it (see https://bugzilla.mozilla.org/show_bug.cgi?id=451145). I think they&#039;re barely recovering from ECMAscript 4 limbo and it&#039;s going to take them a while to migrate away from SpiderMonkey.

@Uli: Actually the problem they had with the JVM is the licensing. They&#039;re not comfortable with GPL, which I can understand. Also even if the JVM is supposed to be open source, it&#039;s still not, a few years after the original announcement. Finally AVM2 is a conservative choice for them, it was already tailored for ActionScript which is very close to Javascript.</description>
		<content:encoded><![CDATA[<p>@Paul: I&#8217;ve checked LLVM some time ago and they seemed more interested in low level languages like C, C++ and Forth. As a result they were missing higher-level features like a garbage collector. It seems that they&#8217;ve fixed that recently though so it might be worth another look.<br />
And Javascript for now is still painfully slow&#8230;</p>
<p>@Assaf: If so, they&#8217;re far from ready. Last time I checked the Tamarin Javascript compiler (called ESC) didn&#8217;t work for even simple expressions. And they don&#8217;t seem to be working very actively on it (see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=451145)" rel="nofollow">https://bugzilla.mozilla.org/show_bug.cgi?id=451145)</a>. I think they&#8217;re barely recovering from ECMAscript 4 limbo and it&#8217;s going to take them a while to migrate away from SpiderMonkey.</p>
<p>@Uli: Actually the problem they had with the JVM is the licensing. They&#8217;re not comfortable with GPL, which I can understand. Also even if the JVM is supposed to be open source, it&#8217;s still not, a few years after the original announcement. Finally AVM2 is a conservative choice for them, it was already tailored for ActionScript which is very close to Javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uli W.</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-4522</link>
		<dc:creator>Uli W.</dc:creator>
		<pubDate>Thu, 28 Aug 2008 12:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-4522</guid>
		<description>Think about the future.
What VM will dominate the future generation of multi- and manycore-processors? Simple answer: the best! And the best VM is the one with the most human and financial resources available. Let&#039;s say it&#039;s the one made by companies like IBM, Intel, Sun or Microsoft.

But there is no place for two different VM&#039;s in the so-called &quot;free world&quot;. Mozilla/Adobe made an enormous mistake to go NIH and to reject the technology offered by the Java-community.
The successor of the JVM will win the race and not Adobe and Mozilla. Too bad that the OpenSource-community has NIH-problems like that.</description>
		<content:encoded><![CDATA[<p>Think about the future.<br />
What VM will dominate the future generation of multi- and manycore-processors? Simple answer: the best! And the best VM is the one with the most human and financial resources available. Let&#8217;s say it&#8217;s the one made by companies like IBM, Intel, Sun or Microsoft.</p>
<p>But there is no place for two different VM&#8217;s in the so-called &#8220;free world&#8221;. Mozilla/Adobe made an enormous mistake to go NIH and to reject the technology offered by the Java-community.<br />
The successor of the JVM will win the race and not Adobe and Mozilla. Too bad that the OpenSource-community has NIH-problems like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assaf</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-4517</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Thu, 28 Aug 2008 06:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-4517</guid>
		<description>Whatever Mozilla uses.

a) it&#039;s made for a dynamic language.
b) they pay attention to startup time.
c) and performance.
d) and memory (now that FF is going mobile).
e) cross-platform file I/O, HTTP, XML, SQLite.
f) security.
g) native UI.
h) momentum.

You&#039;re assuming things like I/O, SQLite, native UI components, desktop integration, etc are not available to JavaScript because HTML scripts are sandboxes. But the chrome is written entirely in JS, all these features are accessible to the VM when running outside the sandbox.</description>
		<content:encoded><![CDATA[<p>Whatever Mozilla uses.</p>
<p>a) it&#8217;s made for a dynamic language.<br />
b) they pay attention to startup time.<br />
c) and performance.<br />
d) and memory (now that FF is going mobile).<br />
e) cross-platform file I/O, HTTP, XML, SQLite.<br />
f) security.<br />
g) native UI.<br />
h) momentum.</p>
<p>You&#8217;re assuming things like I/O, SQLite, native UI components, desktop integration, etc are not available to JavaScript because HTML scripts are sandboxes. But the chrome is written entirely in JS, all these features are accessible to the VM when running outside the sandbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Brown</title>
		<link>http://offthelip.org/?p=112&#038;cpage=1#comment-4516</link>
		<dc:creator>Paul Brown</dc:creator>
		<pubDate>Thu, 28 Aug 2008 04:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://offthelip.org/?p=112#comment-4516</guid>
		<description>What about LLVM (http://llvm.org/)?  (See PyPy for an example.)  Failing that, cross-compiling to Javascript as an intermediate seems like a good way to go, rather than direct to a specific VM.</description>
		<content:encoded><![CDATA[<p>What about LLVM (<a href="http://llvm.org/)?" rel="nofollow">http://llvm.org/)?</a>  (See PyPy for an example.)  Failing that, cross-compiling to Javascript as an intermediate seems like a good way to go, rather than direct to a specific VM.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
