• 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
Re: CORBA with Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CORBA with Mac OS X


  • Subject: Re: CORBA with Mac OS X
  • From: David Sinclair <email@hidden>
  • Date: Fri, 19 Oct 2001 17:06:41 -0700

At 5:41 PM -0500 10/19/01, Scott Thompson wrote:
2. What is involved in using CORBA from Objective-C, i.e. installing and setting up the ORB, and calling it?

Dunno about calling the ORB, but setting up an application to call from Objective-C through to Java should be easy enough. If you use an ORB other than the Java Orb, then likely you are going to have some kind of C or C++ header file to use. The Objective-C++ compiler in Mac OS X allows you to reasonably freely mix Objective-C, plain C, and C++ code all in the same line of source.

Using the built-in Java ORB from Objective-C, rather than a third-party ORB, is an intriguing possibility that I hadn't yet considered.

You have the tradeoffs for Java and Objective-C that are intrisic to the languages too (Objective-C is native code, Java is JIT compiled, Objective-C has explicit memory management, Java has a garbage collector, etc...)

Yes, those and other issues are also important factors. How is Java/Cocoa performance-wise compared to Objective-C/Cocoa? Any noticeable difference under normal conditions?

4. Is Java versatile enough to create a full Cocoa application?

My experience, limited as it is, is that Cooca does a very excellent job of allowing you to create "full" applications. I wrote some uninteresting-but complex Java/Cocoa applications while playing with Cocoa and Java.

That does sound like a popular recommendation; others have praised Java under 10.1. I'll have to investigate it more closely.

Comming from a Carbon background as you are, Cocoa will likely be a bit of a culture shock (it was for me... I'm still getting used to NOT having to write as much code). After a little treading water with some prods from helpful people, however, I hope you will find it as interesting as I do.

I've been using Object Pascal for a few months, to help ease the transition, but I'm sure you're right, it'll be a bit of a shock. But I'm confident that Cocoa is the way of the future, and am looking forward to diving in. I'm glad that this and similar lists are available as life preservers.

Thank you for your helpful reply.

--

David Sinclair, Dejal
mailto:email@hidden
http://www.dejal.com


  • Follow-Ups:
    • Re: CORBA with Mac OS X
      • From: email@hidden
References: 
 >Re: CORBA with Mac OS X (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: NSAppleEventManager problems
  • Next by Date: Re: Security Issue ... was[What happens to ...]
  • Previous by thread: Re: CORBA with Mac OS X
  • Next by thread: Re: CORBA with Mac OS X
  • Index(es):
    • Date
    • Thread