• 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
Which Mac models use the new 64-bit Objective-C ABI?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Which Mac models use the new 64-bit Objective-C ABI?


  • Subject: Which Mac models use the new 64-bit Objective-C ABI?
  • From: "Påhl Melin" <email@hidden>
  • Date: Thu, 20 Nov 2008 15:50:09 +0100

I'm very tempted to use the new 64-bit Objective-C ABI in my next
project. Primarily because of the improved interoperability with C++
destructors, that are now called when unwinding Objective-C exceptions
and should make it possible to use RAII designs in Objective-C++
programs.

If I were to require the use of the 64-bit ABI in my next project,
which mac models would the application run on? And is it possible to
detect at runtime if I'm running the old 32-bit ABI or the new 64-bit
to enable a fallback on non-64-bit models?

Best Regards,
Påhl Melin

>From the "Objective-C Runtime Release Notes for Mac OS X v10.5" :

"In 64-bit, C++ exceptions and Objective-C exceptions are
interoperable. In particular, C++ destructors and Objective-C @finally
blocks are honored when unwinding any exception, and default catch
clauses—catch (...) and @catch (...)—are able to catch and re-throw
any exception."
_______________________________________________

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

  • Follow-Ups:
    • Re: Which Mac models use the new 64-bit Objective-C ABI?
      • From: Nick Zitzmann <email@hidden>
    • Re: Which Mac models use the new 64-bit Objective-C ABI?
      • From: "Shawn Erickson" <email@hidden>
    • Re: Which Mac models use the new 64-bit Objective-C ABI?
      • From: j o a r <email@hidden>
  • Prev by Date: Popups Binding problem
  • Next by Date: Re: Which Mac models use the new 64-bit Objective-C ABI?
  • Previous by thread: Re: Popups Binding problem
  • Next by thread: Re: Which Mac models use the new 64-bit Objective-C ABI?
  • Index(es):
    • Date
    • Thread