Re: Native Java (was Re: Learning Cocoa ..).
Re: Native Java (was Re: Learning Cocoa ..).
- Subject: Re: Native Java (was Re: Learning Cocoa ..).
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 17 Jul 2001 18:26:22 -0700
On Tuesday, July 17, 2001, at 06:01 PM, tyler wrote:
YES! Java compiled to native machine code -- THAT is what I want to
see happen.
Over on the evil side of the force, there's a product called "Jove" from
a company called "Instantiations." What Jove does, is it compiles Java
bytecode to x86 native. However, that's not quite enough.
Instantiations also wrote their own win32 native java.lang.crap and
swing libraries in C++. The result is performance only slightly worse
than Win32 native.
So, to speed up Java, you do two things: compile it (for real), and
never never never link against any Sun code. It would appear that Sun
has a nasty habit of using exceptions as part of their normal control
flow. (The Thingie doesn't exist? Throw an exception, and try again!)
-jcr
"These kids today don't know the simple joy of saving four bytes of
page-0 memory on a 6502" - unknown