[riot-devel] HotSpot JVM on RIOT-OS?

Zac Harvey zharvey at pobox.com
Thu Aug 13 03:41:07 CEST 2015

Kaspar & Adam,

Thanks for the ideas (lejos and non-JVM langs).  I am already in touch 
with the lejos admin.


An earlier suggestion was to investigate SOCs like Raspberry Pi or 
BeaglBoard.  At first I thought: OK this is exactly what I need! But now 
that I'm really thinking about it, there's something that leaves me 
feeling uneasy here.

So the main argument against the ARM SAM3X8E for a JVM is that it only 
has 512KB ROM and 96KB RAM.  But after researching the RaspberryPi, the 
later models are using an ARM Cortex-A7 CPU that, according to Wikipedia 
it has 1MB RAM. So this doesn't make sense: why is RaspberryPi touted as 
a JVM-capable ARM-based SOC, whereas SAM3X8E is totally incapable of 
such a feat (nothing in the modern Java landscape will run on 1MB).

Clearly I'm missing something here, but: what is the difference between 
RapsberryPi's ARM processor vs SAM3X8E that makes it capable of running 
a Java app?!?


On 8/12/15 2:30 PM, Adam Hunt wrote:
> While I applaud the idea of getting something as heavyweight as a JVM 
> to run on the type of devices that most of us on this list are 
> targeting have you thought about non-JVM languages? I've often 
> wondered how small of a system Erlang could be persuaded to running on.
> On Wed, Aug 12, 2015 at 4:47 AM Kaspar Schleiser <kaspar at schleiser.de 
> <mailto:kaspar at schleiser.de>> wrote:
>     Hey,
>     On 08/12/2015 01:36 PM, Zac Harvey wrote:
>     > still planning on using RIOT-OS if it all possible.
>     When you're evaluating embedded JVMs, take a look at the VM used by
>     leJOS. It seems like it could rather easily be cut out of the OS,
>     and it
>     is apparently very capable even on the lego NXTs (64kb RAM, 256kB
>     flash), and seems like more than a research proof-of-concept.
>     Kaspar
>     _______________________________________________
>     devel mailing list
>     devel at riot-os.org <mailto:devel at riot-os.org>
>     https://lists.riot-os.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150812/5abbbdf6/attachment.html>

More information about the devel mailing list