On Nov 13, 2007 11:38 AM, David Welton <[EMAIL PROTECTED]> wrote: > > So... it looks like a much more 'up to date' Java than a lot of j2me > stuff. On the other hand, they do some weird things with the > bytecodes. Have you guys tried to get your languages going on it yet?
As Neil has noted, the Dalvik VM, does not consume JVM class files. The Dalvik VM is not (yet) documented. However the standard library does contain java.lang.ClassLoader so it appears possible to dynamically compile classes and get them loaded (but you need the Dalvik VM spec, of course). At the moment it appears that languages which are purely interpreted could probably run on Dalvik. In future languages which currently dynamically compile classes may well be able to run on Dalvik (it depends on how the security system is implemented amongst other issues). Languages which can be statically compiled to bytecode may well be able to run on Dalvik now - it depends on their API dependancies (but reflection seems to be implemented so there's hope). The general need for good performance is going to limit the applicability of many highly dynamic languages on this platform, at least initially. My bet for the first useful non Java language on this platform would be Scala. Warning: I have spent about 45 minutes looking at the platform so the above may be complete nonsense :) John Wilson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" 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/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---
