Re: EXE without JVM
Petomarmitta wrote:
Andrew Thompson ha scritto:
...
I found this: http://schmidt.devlib.org/java/native-compilers.html
Perhaps you should read it again.
Seems a compiled runs faster than an VM-pass-through...
Seems (to quote from the page)..
"Higher execution speed. Actually, that is not guaranteed, it
depends largely on the application type, the *system* *environment*,
the way a particular solution was coded etc. You must do a lot
of testing to find out if your code benefits from native execution."
OK - so let's imagine you've completed that process for a
single configuration of one system environment. You might
end up with native code that is 5% faster in that environment.
What about the next PC (with a slightly different config.), or
the one after that, or the ten others down the hall, or..
It is best left to the JVM to do optimisations, because,
as I have mentioned before in this thread, it can do
them at run-time - depending on the machine and the
execution environment as it exists at that moment.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200705/1