<?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: Closures Part I</title>
	<atom:link href="http://www.mirandabanda.org/cogblog/2008/06/07/closures-part-i/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mirandabanda.org/cogblog/2008/06/07/closures-part-i/</link>
	<description>Speeding Up Croquet and Squeak with a new open-source VM from Teleplace</description>
	<lastBuildDate>Tue, 27 Jul 2010 17:32:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Mathueu Suen</title>
		<link>http://www.mirandabanda.org/cogblog/2008/06/07/closures-part-i/comment-page-1/#comment-27</link>
		<dc:creator>Mathueu Suen</dc:creator>
		<pubDate>Mon, 16 Jun 2008 13:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://cogblog.mirandabanda.org/?p=4#comment-27</guid>
		<description>Hi Eliot

I am wondering why you do not use the Anthony Hannan’s compiler. It seem to me that all the feature you want is inside.

&lt;em&gt;I&#039;m a slow learner and find picking up new things hard.  I also know exactly what I want to do with Cog.  So it is easier for me to use the existing compiler that I know very well.  It took me two weeks to modify the compiler to do closures.  It probably would have taken me that amount of time to get to grips with Anthony&#039;s compiler.&lt;/em&gt;

As far as I understand is because of optimization that need to be done at the compiler level. I would be very interest if you explain in detail why.

&lt;em&gt;I hope I will in future posts.  The issue is to do with how the Vm fools the image into thinking there are always contexts and only contexts when in fact the Vm uses a much more conventional and much faster stack organization.&lt;/em&gt;

One thing that can be done with the compiler of Anthony is rewriting the BytecodeGenerator so you can change the bytecode generated to create/access ClosureEnvironment.

&lt;em&gt;Well I think I did the same thing, just on what for me is more familiar ground.  No disrespect to Anthony&#039;s compiler.  And I had fun doing it myself :)&lt;/em&gt;

The post is very interesting  and I am interest to see the post to come about context-to-stack mapping and the scope analysis :) .
Thanks

&lt;em&gt;Thank you!  I&#039;ll try not to keep you waiting!

Eliot&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Hi Eliot</p>
<p>I am wondering why you do not use the Anthony Hannan’s compiler. It seem to me that all the feature you want is inside.</p>
<p><em>I&#8217;m a slow learner and find picking up new things hard.  I also know exactly what I want to do with Cog.  So it is easier for me to use the existing compiler that I know very well.  It took me two weeks to modify the compiler to do closures.  It probably would have taken me that amount of time to get to grips with Anthony&#8217;s compiler.</em></p>
<p>As far as I understand is because of optimization that need to be done at the compiler level. I would be very interest if you explain in detail why.</p>
<p><em>I hope I will in future posts.  The issue is to do with how the Vm fools the image into thinking there are always contexts and only contexts when in fact the Vm uses a much more conventional and much faster stack organization.</em></p>
<p>One thing that can be done with the compiler of Anthony is rewriting the BytecodeGenerator so you can change the bytecode generated to create/access ClosureEnvironment.</p>
<p><em>Well I think I did the same thing, just on what for me is more familiar ground.  No disrespect to Anthony&#8217;s compiler.  And I had fun doing it myself <img src='http://www.mirandabanda.org/cogblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p>The post is very interesting  and I am interest to see the post to come about context-to-stack mapping and the scope analysis <img src='http://www.mirandabanda.org/cogblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .<br />
Thanks</p>
<p><em>Thank you!  I&#8217;ll try not to keep you waiting!</p>
<p>Eliot</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jecel Assumpção Jr</title>
		<link>http://www.mirandabanda.org/cogblog/2008/06/07/closures-part-i/comment-page-1/#comment-24</link>
		<dc:creator>Jecel Assumpção Jr</dc:creator>
		<pubDate>Fri, 13 Jun 2008 22:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://cogblog.mirandabanda.org/?p=4#comment-24</guid>
		<description>In the example that follows &quot;This way round works as intended:&quot; I think you meant to put the &quot;n&quot; before the rest of the expression as indicated in the paragraph after that. Right now the two versions are identical. It took me quite a while to convince myself of that  :-)

&lt;em&gt;Thanks Jecel!  Good catch.  I completely reformatted the code, going to generated HTML: instead of using &lt; pre &gt; and I screwed up second time around.  So now this way round it works :-)

The fact that I can edit my previous attempts is convenient.  Corrupting even.

Eliot&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>In the example that follows &#8220;This way round works as intended:&#8221; I think you meant to put the &#8220;n&#8221; before the rest of the expression as indicated in the paragraph after that. Right now the two versions are identical. It took me quite a while to convince myself of that  <img src='http://www.mirandabanda.org/cogblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><em>Thanks Jecel!  Good catch.  I completely reformatted the code, going to generated HTML: instead of using &lt; pre &gt; and I screwed up second time around.  So now this way round it works <img src='http://www.mirandabanda.org/cogblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The fact that I can edit my previous attempts is convenient.  Corrupting even.</p>
<p>Eliot</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Lander</title>
		<link>http://www.mirandabanda.org/cogblog/2008/06/07/closures-part-i/comment-page-1/#comment-22</link>
		<dc:creator>Anthony Lander</dc:creator>
		<pubDate>Thu, 12 Jun 2008 16:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://cogblog.mirandabanda.org/?p=4#comment-22</guid>
		<description>Eliot,

Teaching as you are building is a wonderful idea, and we (the interested readers) are the lucky beneficiaries. Thank you for sharing with us.

  -Anthony

&lt;em&gt;I feel so privileged to have this fantastic context within which to work on Cog.  Great blogging software, an affordable hosting service, an open source project to work on, a great product to contribute to and great colleagues.  I feel like the Ferrari test driver I saw in a program on car design who, on getting out of a 456 he was testing to destruction doing doughnuts until a radiator hose broke, said &quot;I am the Ferrari test driver.  I have the best job in the world.&quot;.  Later in the program you can guess what the Lamborghini test driver said :-)

Eliot&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Eliot,</p>
<p>Teaching as you are building is a wonderful idea, and we (the interested readers) are the lucky beneficiaries. Thank you for sharing with us.</p>
<p>  -Anthony</p>
<p><em>I feel so privileged to have this fantastic context within which to work on Cog.  Great blogging software, an affordable hosting service, an open source project to work on, a great product to contribute to and great colleagues.  I feel like the Ferrari test driver I saw in a program on car design who, on getting out of a 456 he was testing to destruction doing doughnuts until a radiator hose broke, said &#8220;I am the Ferrari test driver.  I have the best job in the world.&#8221;.  Later in the program you can guess what the Lamborghini test driver said <img src='http://www.mirandabanda.org/cogblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Eliot</em></p>
]]></content:encoded>
	</item>
</channel>
</rss>
