Hi Simon,

Simon Ritter <[EMAIL PROTECTED]> wrote:
>
> oops, yes, you are correct, 256KB, not MB.  The current footprint of the 
> Squawk implementation being run on the Sun SPOT is 80KB RAM for the VM 
> and 380KB for the libraries.  This seems to be reasonable given the 
> resources of the NXT.

the NXT has 64KB RAM and 256KB flash, of which we will have to
leave some to the ROM.  My optimistic guess would be that we get
~60KB RAM and ~200KB flash to play with.
So squawk (and all other VMs I've looked at) exceed this a bit.

The open source VM closest to fitting in NXT IMHO was JamVM,
Squawk would be second but is probably not open source (?).
It has some interesting concepts to write most of the OS
in Java, with special instructions in the VM to support e.g.
thread switching.

For a start I'd rather stay close to what we have in Lejos
and port that to NXT.  This will most likely be the easiest and
quickest way to get Java running on the NXT, and we can then
incrementally extend it to make the most of NXT. 


Cheers

Jürgen

-- 
Jürgen Stuber <[EMAIL PROTECTED]>
http://www.jstuber.net/
gnupg key fingerprint = 2767 CA3C 5680 58BA 9A91  23D9 BED6 9A7A AF9E 68B4


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to