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

Java and C


  • Subject: Java and C
  • From: John Balestrieri <email@hidden>
  • Date: Wed, 29 Aug 2001 11:18:00 -0400

I'm just getting started with Cocoa, and I like it a lot. Coming from a background in REALbasic, I was very pleased to immediately jump in and start working with Java. However, I've recently been reading (on Omnigroup's cocoa list archives) about the memory and performance hog the Java VM is.

I am thinking I can mix Java and ObjC in my project. I would implement the core memory and processor classes in ObjC, and create the higher level functionality in Java (for me, the syntax is more intuitive, hence faster for me to program). I could always port the Java to ObjC as I gain proficiency in ObjC. My questions are these:

Is there any performance hit when switching from the Java VM to native compiled code?

Are there any 'gotchas' to watch out for when working in Java with classes that were created in Objective C? Vice versa?

Am I wrong all together to think that the languages can be mixed as I've described?



Thanks,
John


  • Follow-Ups:
    • Re: Java and C
      • From: Andreas Monitzer <email@hidden>
    • Re: Java and C
      • From: Alykhan Jetha <email@hidden>
    • Re: Java and C
      • From: Brian Hill <email@hidden>
  • Prev by Date: Re: Abstract classes and methods
  • Next by Date: Re: Faceless tool with AppKit frameworks?
  • Previous by thread: capture keystrokes
  • Next by thread: Re: Java and C
  • Index(es):
    • Date
    • Thread