Well, that's the point really: you *can* run the same Java application unmodified on multiple platforms, as long as it is written in 100% pure Java. This is even a possibility for J3D, assuming in the future it too becomes 100% pure Java and is based on top of JOGL.
Having a Java -> Native compiler is not as straightforward as a C compiler. Java provides a lot of extra runtime flexibility over C/C++ which makes it nearly useless to compile it offline. Many of these decision branches must be resolved at runtime which in turn influences the program execution path and optimization. Gili On Thu, 4 Sep 2003 22:35:25 +0200, hterrolle wrote: >HI all, > >I am just thinking about what JAVA is to slow in execution. First i think that the >iterpretor does not care but anuse class which ask more memory to manage. And of course slow down CPU. I would like to know if depending on the OS (operation system) performence are better or worse. But we must feep in mind that the tortul win at the end (La Fontaine). I am sure that improving the none creationos anuse mamorie class JAVA could go much faster. I think that it is not san easy way. But it is the rigth direction to follow. >So my question is why Sun does not create a compiler for the code. One compiler for each OS. Because anyway we cannot export JAVA from one to another OS specialy when we use J3D. >It is just an idea. SUN should give the possibility of compiling any JAVA code for all OS platform. We could send the rigth code to every OS. No need to do a quick compiler on the user machine. Possibility of optimize the code from the begining and not promote unuse clas and memory. There lto way in life be forward lor be backward. in businnes it is much better to be forwward during war backward. > >Sorry for being impertinent but i am to old to change. > >Herve > >======================================================================= ==== >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff JAVA3D-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".