RE: Java and C
RE: Java and C
- Subject: RE: Java and C
- From: "Smith, Bradley" <email@hidden>
- Date: Wed, 29 Aug 2001 16:58:26 +0100
>
> 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.
>
>
>
Negative. Java in a Cocoa app is just Java bytecode like any
>
other Java
>
app.
>
Thanks Brian. I stand corrected.
I have to admit that was an assumption on my part. The (Apple) documentation
I had read seemed to imply that you basically ended up with the same app
whether you used Obj-C or Java. The main problem being that the Java API
wasn't as complete as the Obj-C one. Now I know why the Java versions of the
example apps are so slow compared to the Obj-C ones.
Today's lesson (for me) - Assume nothing (I shoulda learned that by now).
Brad