• 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 or Objective-C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C or Objective-C++


  • Subject: Re: Objective-C or Objective-C++
  • From: Glen Simmons <email@hidden>
  • Date: Fri, 3 Feb 2006 11:20:45 -0600


On Feb 3, 2006, at 10:06 AM, Thomas Engelmeier wrote:

On Feb 2, 2006, at 7:55 AM, Rick Langschultz wrote:

>I was wondering if I should use objective-c or Objective-C++. I want to know if there is some sort of >speed test, or any other type of test that I should be doing to analyse that statement. Both code-
> bases carry out the same functions. I do like Objective-C more though. Any opinions?

> For exactly the same code, what do you think will be different between the two?


A valid C source is not always a valid C++ source. Especially if it contains abnomiations like pointers to distictive types assigned back and forth to void pointers, left alone function pointers passed as void pointers..

Regards
	Tom"Surprise, surprise, 'id' is typedef for 'void *' "E

Uh, no. id is a pointer to a struct. See <objc/objc.h>

Glen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Objective-C or Objective-C++
      • From: Thomas Engelmeier <email@hidden>
References: 
 >Re: Objective-C or Objective-C++ (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Custom NSView doesn't redraw itself properly after use of NSPopUpButton
  • Next by Date: Detecting the presence of Guard Malloc in code?
  • Previous by thread: Re: Objective-C or Objective-C++
  • Next by thread: Re: Objective-C or Objective-C++
  • Index(es):
    • Date
    • Thread