• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Native Java (was Re: Learning Cocoa ..).
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Native Java (was Re: Learning Cocoa ..). (From: tyler <email@hidden>)

  • Prev by Date: When rabid threads have to be put to sleep...
  • Next by Date: Re: NSApplication Bug. Quit doesn't notify windows (& delegates), just kills them.
  • Previous by thread: Re: Native Java (was Re: Learning Cocoa ..).
  • Next by thread: Re: Native Java (was Re: Learning Cocoa ..).
  • Index(es):
    • Date
    • Thread