RE: Java and C
RE: Java and C
- Subject: RE: Java and C
- From: "Smith, Bradley" <email@hidden>
- Date: Wed, 29 Aug 2001 16:30:41 +0100
I'm pretty sure Java and Obj-C can be mixed in a Cocoa app. It won't take
you long to find out if I'm wrong as no one here will be able to resist
flaming me i'm sure ;-)
Java in a Cocoa app is just another programming language. It will be
compiled into native PowerPC code so it'll be quicker than a pure Java app.
Pure Java means compiling to byte code that will run on any compliant JVM on
any platform; there must be an overhead for this.
What I want to know is about the garbage collection (GC). Pure Java does
auto GC - albeit badly most of the time. how does it work in Cocoa? Can we
just write our code allocating memory willy-nilly and let the system sort it
out?
Regards
Brad.
P.S. Sorry, just as many questions as answers this time!