Poring Shark to Google Android Dalvik Virtual Machine

Xerxes Rånby xerxes at zafena.se
Tue Jul 14 14:18:28 PDT 2009


Den 2009-07-14 21:26, Ілля Романенко skrev:
> Hi,
> I was wondering if it would be good idea to port Shark Dalvik Virtual
> Machine? As dalvik didn't have JIT for now so apps works very slow.
> You may look at
> http://www.koushikdutta.com/2009/01/dalvik-vs-mono.html to see how bad
> is it  :)
>
> Let me know what do you think about it...
>
> Cheers,
> Illia Romanenko

It would actually be quite a good idea to get OpenJDK using zero/shark
running on Android as is as an alternative java implementation instead
of using Dalvik, it will give Android Java SE compatibility and prevent
a split in the embedded Java world.

OpenJDK currently have two jits for ARM  the and Shark JIT (work in
progress on stabilising llvm for ARM) and the Cacao JIT we also have a
brand new and fast ASM optimized interpreter for ARM to be used on top
of Zero.

Another option are to use PhoneME on Android as is, it also contains a
JIT and would give Android Java ME compatibility,

currently as fair as i know Android are only compatible with itself
since it only uses a subset of apache harmony.

You can probably use the caciocavallo project to enable OpenJDK to draw
all swing and awt guis on Android.
http://openjdk.java.net/projects/caciocavallo/

Cheers
Xerxes




More information about the zero-dev mailing list