Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question



On 10/31/02 1:34 PM, "James Mooney" <email@hidden> wrote:

> I realize Sun would probably hate Apple doing that but it would seem
> like a great tool if Java apps ran native code upon a recompile....ie
> set target to byte code or machine code........

Well, there is the just in time compiler (JIT) that compiles classes when
they are loaded (or something similar). There is a to-native code compiler
on the PC, but I forget the name. I tried my app out on it and it didn't
really run any faster. From what I know about Java most of the speed hit
comes from either API shenanigans (slow API implementation), the GC, object
allocation, overhead for things like every object having a monitor and the
most natural way of doing things in java tends to also be slower than the
most natural way of doing things in C. It's a knockout combo of overhead.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Newbie question (From: James Mooney <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.