• 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: Java and C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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!


  • Follow-Ups:
    • Re: Java and C
      • From: Jean-François Veillette <email@hidden>
    • Re: Java and C
      • From: "David P. Henderson" <email@hidden>
    • Re: Java and C
      • From: Brian Hill <email@hidden>
    • Re: Java and C
      • From: Brian Hill <email@hidden>
  • Prev by Date: Re: Abstract classes and methods
  • Next by Date: Simple Cocoa Movie Player? QTVR Mouse Controller?
  • Previous by thread: Re: Java and C
  • Next by thread: Re: Java and C
  • Index(es):
    • Date
    • Thread