• 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: Mixing Obj-C & Java in same Cocoa app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Mixing Obj-C & Java in same Cocoa app?


  • Subject: RE: Mixing Obj-C & Java in same Cocoa app?
  • From: "Smith, Bradley" <email@hidden>
  • Date: Mon, 17 Sep 2001 08:31:02 +0100

> (a) with compiled Java/Cocoa (!forget swing!), there should
> be a very little
> penalty over ObjC (actually, the only two reasons I see for
> compiled Java
> being slower is the GC, and perhaps that Java does not
> support structs, so
> things like NSRect have to be objects; none of them should be that
> important);

AFAIK *all* Java is compiled, but into byte code - not native, which means a
JVM has to interpret at runtime. This is clearly going to be slower that
Obj-C compiled into native PPC instructions. Nothing you can do about it.

Brad


  • Follow-Ups:
    • Re: Mixing Obj-C & Java in same Cocoa app?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Changing draggedImage in mid-drag
  • Next by Date: Re: Changing draggedImage in mid-drag
  • Previous by thread: Re: Mixing Obj-C & Java in same Cocoa app?
  • Next by thread: Re: Mixing Obj-C & Java in same Cocoa app?
  • Index(es):
    • Date
    • Thread