<html><head><base href="x-msg://557/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>FYI</div><div><br><div><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">- Bert -</span></div><br class="Apple-interchange-newline"></span></div></div><div>Begin forwarded message:</div><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Dan Ingalls &lt;<a href="mailto:Dan@Squeakland.org">Dan@Squeakland.org</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">6. April 2010 07:59:30 MESZ<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:pharo-project@lists.gforge.inria.fr">pharo-project@lists.gforge.inria.fr</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [Pharo-project] Redline Smalltalk</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Reply-To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:Pharo-project@lists.gforge.inria.fr">Pharo-project@lists.gforge.inria.fr</a><br></span></div><br><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><div>&nbsp;James Ladd &lt;<a href="mailto:james_ladd@hotmail.com">james_ladd@hotmail.com</a>&gt; wrote...<br></div><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; "><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">Hi Pharo-ites,<br><br>I'm working on a port of Pharo to the Java Virtual Machine called Redline Smalltalk.</blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">(read more here:&nbsp;<a href="http://jamesladdcode.com/?p=323">http://jamesladdcode.com/?p=323</a>)<br><br>I'm wanting to port every single class over time, but initially enough to get the<br>compiler working and have a minimum runtime.<br><br>Of the 1600+/- classes which are those necessary to make a small workable compiler</blockquote><blockquote type="cite" cite="" style="padding-top: 0px; padding-bottom: 0px; ">and runtime environment?</blockquote></blockquote><div><br></div><div>Hi, James -</div><div><br></div><div>Bert Freudenberg forwarded this along to me, as I'm not on a Pharo mailing list.</div><div><br></div><div>I think you know of my JSqueak project (a.k.a. Potato) -- a Squeak VM written in Java.&nbsp; The image that I used with it, is the same that I always use for this kind of experiment -- mini.image built in Squeak 2.2.</div><div><br></div><div>The reason it is so cool is that it includes browser, editor, compiler, inspector debugger, and files -- everything you need for self-support.&nbsp; Plus it has the decompiler, and special temp-name hack, so you can actually browse sources with temp names before any file system works.&nbsp; My favorite thing about this image is that although it is only 600k, if you decompile all its sources, it comprises over 850k of Smalltalk, so it's like a compressed version of the sources with a full-function IDE thrown in for free ;-).</div><div><br></div><div>As I said, the image is about 600k, of which 240k is code -- 202 classes (x2 if you count the metas) with 4590 methods.&nbsp; This should be a good guide for you in choosing classes to start with.</div><div><br></div><div>You can actually run this image live in JSqueak on the web if you have Java installed and the planets are aligned correctly...</div><div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></x-tab><a href="http://Weather-dimensions.com/Dan/JSqueak.jnlp">http://Weather-dimensions.com/Dan/JSqueak.jnlp</a></div><div>Another interesting statistic is that the Java .jar file is only 433k, including not only the VM, but also the entire image!&nbsp; This is possible because the image is so small that the pointers in it are mostly zeroes, so it compresses nicely.&nbsp; I just checked that this runs, and was happy to see that it putts along at 21 million bytecodes/sec on my laptop.</div><div><br></div><div>I haven't looked recently, but I think you'll find Mini2.2.image or something like it in the same place where all the historical releases of Squeak are kept.&nbsp; Let me know if you can't find it.</div><div><br></div><div>Have fun with your project!&nbsp; I hope this helps</div><div><br></div><div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></x-tab>- Dan</div></div></span></blockquote></div><div><br></div></body></html>