Re: ObJC vs. Java -- NEWBIE
Re: ObJC vs. Java -- NEWBIE
- Subject: Re: ObJC vs. Java -- NEWBIE
- From: Dave Thorup <email@hidden>
- Date: Thu, 5 Feb 2004 11:41:28 -0500
On Feb 5, 2004, at 7:36 AM, Lotsa Cabo wrote:
1. If I code my Cocoa app using Java, how much slower than Objective-C
will Java be?
That depends. From your description I doubt there would be any
noticeable difference. If you were developing the next Doom, then
neither Objective-C or Java would probably be good solutions and you'd
want to go with C or C++. But for file manipulation and network access
ObjC and Java will probably perform almost the same (ObjC may be a bit
faster though).
4. Each time I have installed an app on my new PowerBook, I've had to
copy one object (I think it's a "bundle") from a drive image to my
Applications directory. I think this is a great install process. If
I code my app using Java, will I be able to use this type of install
method when my app is distributed?
Yep. :)
5. Java apps on Windows are ugly. If I code my app in Java, will the
user know that it's Java when it's running?
Not if you use Cocoa-Java. With Cocoa-Java you'd have a native Cocoa
interface and no one could tell from looking at it that the backend was
written in Java.
6. The few lines of Objective-C that I have seen has no resemblance to
any language that I'm familiar with. Considering I will be developing
on a Mac and M$ platform for years, is there any major benefit to
learning Objective-C?
Yes, Objective-C has a lot of nice features that make certain things
much easier. There are also some APIs that you can't access through
Cocoa-Java. If you're going to be developing on the Mac a lot then you
should at least learn ObjC and Cocoa. I do think a good starting point
for someone familiar with Java is to learn the Cocoa APIs through Java
and then learn the ObjC syntax.
Sorry I can't answer your other questions, I don't have experience in
those areas.
Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.