Re: Mixing Obj-C & Java in same Cocoa app?
Re: Mixing Obj-C & Java in same Cocoa app?
- Subject: Re: Mixing Obj-C & Java in same Cocoa app?
- From: Andreas Monitzer <email@hidden>
- Date: Thu, 13 Sep 2001 19:03:48 +0200
On Thursday, September 13, 2001, at 05:53 , Ken Tabb wrote:
I'd like to know opinions on the following from bilingual Cocoa veterans:
Well, I don't consider myself a Cocoa veteran, but at least I've written a
tutorial on the Java Bridge:
http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000016.php
[1] How easy is it to mix Obj-C Cocoa and Java Cocoa in the same app?
[2] How easy is it to mix Cocoa Java and JDK (Sun) Java in the same app?
There's no difference in these two. Cocoa/Java is just a package in
com.apple.*.
[3] What are the limitations of [2]? In Public Beta you couldn't have
both JDK Java and Cocoa Java using the same screenspace / GUI, so one had
to control the other... I'm wondering if this has improved since the days
of Public Beta?
Partly. It's possible to embed Java applets in Cocoa windows (but it's not
completed yet).
[4] Is Cocoa ready for doing Java programming yet... when I last looked
at the docs (about 10.0.1 I think) there was a lot more implemented for
Obj-C than there was for Cocoa Java, but it seems to be much better now.
The last time I tried (I think around the 10.0.3-days) it was far from
complete.
[5] I'm assuming it's not possible to get at AltiVec from Java, as it's
interepreted by the JVM running on (presumably) the main CPU(s) and not
passed onto the AltiVec processors?
There's no AltiVec processor I know of. And I don't think the JVM
generates AltiVec-opcodes.
andy
--
Description forthcoming.