Java and C
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