<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Dec 21, 2013 at 5:24 PM, Craig Latta <span dir="ltr">&lt;<a href="mailto:craig@netjam.org" target="_blank">craig@netjam.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Jon--<br>
<br>
&gt; I just bought a Teensy 3.1 from <a href="http://pjrc.com" target="_blank">pjrc.com</a> &lt;<a href="http://pjrc.com" target="_blank">http://pjrc.com</a>&gt;. Its got an<br>
<div class="im">&gt; ARM overclocked at 96 MHz, with 256 KB of FLASH, and 64 KB of RAM,<br>
&gt; plus a huge pile of hardware features built in. It was $20, and looks<br>
&gt; like one of those old basic stamps. Right now I&#39;m programming it with<br>
&gt; the Arduino IDE, but its another platform that would be cool to run<br>
&gt; something like Little Smalltalk or Spoon on.<br>
<br>
</div>     A 32-bit processor, nice! The next hurdle is getting the VM down to<br>
below 256 KB. To date there hasn&#39;t been an effort to make the VM small,<br>
as far as I know. Currently the VM is at least a megabyte on every<br>
platform, yeah?<br></blockquote><div><br></div><div>Well, the thing you have to realize, on a platform like this (no OS, no file system, just a bare chip), there&#39;s a lot of stuff in the VM that we could get rid of. All the graphics stuff, file support, sockets, etc. You would want to keep the serial port support, and probably add support for other hardware peripherals. I don&#39;t think it would be impossible to get the VM down to a very small size, but I&#39;ve never really played with it, so I can&#39;t say for sure.<br>
<br></div><div>Basically, you&#39;d want the interpreter, the garbage collector, and enough primitives to support a very basic class library. Plus support for the hardware peripherals on the chip (UART, SPI, I2C, Digital I/O, A/D, PWM, Timers, etc)<br>
</div><div><br></div><div>- Jon<br><br></div></div></div></div>