I am concerned that google is unable to address this problem and have worked themselves into a bind. There was several comments from google about JIT or something would be coming reasonably soon but all that talk has dried up.
My understanding from reading the media is google choose to write their own VM to avoid paying licensing fees to Sun. I can only imagine that Sun has several patents covering JIT (I did a quick search and browsed a couple patents which seemed very well written. i.e. not specifying bytecode). I suspect that JIT is not in the future unless google wants to pay Sun patent license fees or can trade patents or patent rights with Sun. Maybe google will buy Sun. AOT might be more likely. Google has put together an interesting system which basically turns java into a scripting language. The scripting language is pretty slow but can call native libraries or hardware acceleration easily. So many applications run just fine if the work you require is already supported. God help you if what you need done is not already supported. The other approach for google earth is to put enough high performance C code into the native libraries distributed with android or google earth to get it to work. This approach is unsatisfying to the 3rd party developer because google has stated the the native code interface is not support and subject to change, not to mention non-portable to other processors. Now that I have given up trying to write compute intensive applications for Android phones it is much less frustrating and interesting to see where google goes with this. On Apr 14, 1:14 pm, Edward Falk <[email protected]> wrote: > patg wrote: > > I would guess it is Davlik VM terrible performance keeping google > > earth from runnig at a reasonable speed. The benchmarks I have > > seen show the iphone to be 10-100 times faster that the g1. > > This is it in a nutshell. Dalvik doesn't do JIT compilation -- it's a > pure interpreter. In the early days, we were told to treat the > Android as having a 3MHz cpu. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
