• 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: Objective-C vs. Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C vs. Java


  • Subject: Re: Objective-C vs. Java
  • From: Art Isbell <email@hidden>
  • Date: Wed, 25 Jul 2001 14:11:44 -1000

On Wednesday, July 25, 2001, at 01:41 PM, Lloyd Sargent wrote:

Perhaps I am missing what ObjC++ is supposed to give us... two different ways of doing objects?

Basically, yes. You can have C++ source files (Model objects), Objective-C source files (Model, View, and Controller objects), and files containing mixed C++ and Objective-C (Controller objects in which C++ objects can be messaged from Objective-C and vice-versa). The compiler knows which files are which by their file extensions.

Is C++ faster than ObjC?

Generally, yes. The dynamic nature of Objective-C, its source of power, is slower than the static nature of C++ in which everything is set up at compile time. One of the design goals of C++ was that it execute no more slowly than C which severely restricted its object-oriented nature and made its syntax a nightmare.

Art Isbell
Apple iServices Technical Support
http://www.apple.com/iservices/webobjectssupport/
+1-808-591-0836


References: 
 >Re: Objective-C vs. Java (From: Lloyd Sargent <email@hidden>)

  • Prev by Date: Re: Objective-C vs. Java
  • Next by Date: Re: Objective-C vs. Java
  • Previous by thread: Re: Objective-C vs. Java
  • Next by thread: Re: Objective-C vs. Java
  • Index(es):
    • Date
    • Thread