0 Members and 1 Guest are viewing this topic.
Why Java? Isn't Lua enough?Java's performance will definitely be better, possibly much better:Lua is dynamically typed, while Java is statically typedLua programs must be parsed into tokens/bytecode before execution, Java programs are precompiled into bytecode ready for executionNspire Lua interpreter was written by TI (automatic performance hit! )
Can the Nspire handle it?A JVM (Java Virtual Machine) implementation called Lejos has been available for the Lego Mindstorms NXT robotic brick for years already: http://lejos.sourceforge.net/. I will use the Lego NXT as a basis for comparison with the Nspire.The NXT's specs compared to the original Nspire non-CAS:NXTNspireProcessor:ARM7 @ 48MHzARM9 eq. @ ~150MHzRAM:64kB16MBFlash ROM:256kB20MBThe Lejos project chose to implement Java ME instead of SE for obvious reasons. Java ME is probably the most we can hope for.Minimum system requirements for Java ME:RAM:8MBROM:5MB(from http://www.oracle.com/technetwork/java/embedded/resources/me-embeddocs/index.html)Note that these specs are for Linux. The Nspire's simpler OS should leave even more room to spare. Can the Nspire handle Java ME? I think so.
and I am somewhat surprised that something similar is not available for the Nspire yet.
It's the standard lua, just without io and system libs, and some extra libs by them
QuoteIt's the standard lua, just without io and system libs, and some extra libs by themIOW, it's significantly two-way incompatible with Lua on pretty much other platform.
But yeah, porting some Java framework + library ought to be possible on the Nspire, and unlock some potential (at least once in a while, when native code development is available to users).
IOW, it's significantly two-way incompatible with Lua on pretty much other platform.