Why not get rid of the JVM and JIT for mobile device?
[email protected] Mon, 8 Sep 2008 19:38:23 PDT
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <11612618.68321220927934296.JavaMail.tomcat@sdcst12.sjc.collab.net> |
Hi alll. I had a basic question about the design of java language. At present java program first be compile to bytecode then executed by a JVM. Normally JVM is a little big for most of the mobile device. My question is that why not just convert the java bytecode to native executable before it run ( include the necessary JDK class ). Then it will run just as a native program. It will have smaller memory foot-print and run faster than the normal way. Now during the development phase we use the JVM to debug our program. When deploy the program we convert it to the native executable for the target device. For how to achieve this taget we can convert the class file to for example C source file then compile it with GCC. I want to know why we don't use this method to address the mobile application development. Does JVM provide so much advantage that we can't by pass it in any way? [Message sent by forum member 'yt7589' (yt7589)] http://forums.java.net/jive/thread.jspa?messageID=297946 =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".