• 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: programming in C++ ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programming in C++ ?


  • Subject: Re: programming in C++ ?
  • From: John Stiles <email@hidden>
  • Date: Wed, 30 Jan 2008 16:00:43 -0800

Just a minor/pedantic correction, but if you use the new ObjC 2.0 runtime in 64-bit mode, C++ and ObjC exceptions are actually semi-compatible; they use the same underlying mechanism and don't completely break when you mix and match them.

Other than that, Uli's explanation was totally on-target, though some of it is really a matter of opinion… language preference wars aren't really fun though, and they're certainly OT for this list :)


Uli Kusterer wrote:
you don't want to throw C++ exceptions through ObjC methods or vice versa (i.e. if you make a C++ call inside an ObjC method, wrap it in a try block and same for the other way round).
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >programming in C++ ? (From: "Cor" <email@hidden>)
 >Re: programming in C++ ? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Posting Event to Specific Window
  • Next by Date: Re: SliderText = NSSlider + NSTextField
  • Previous by thread: Re: programming in C++ ?
  • Next by thread: Re: programming in C++ ?
  • Index(es):
    • Date
    • Thread