• 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: Exception handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception handling


  • Subject: Re: Exception handling
  • From: Scott Thompson <email@hidden>
  • Date: Thu, 30 Oct 2003 20:47:30 -0600

On Oct 30, 2003, at 5:40 PM, Prachi Gauriar wrote:

On Oct 30, 2003, at 3:40 PM, Frank Midgley wrote:

On Oct 30, 2003, at 1:51PM, Michael B. Johnson wrote:

Can anyone comment on why this isn't on by default? In other words, what's the cost (execution speed or app size, or layout in address space) of enabling this? I'd like to put it on by default for my stuff, but I'm not sure if there are carrying costs like C++'s exceptions...


I think the major issue is that it won't work with anything but Panther. Since there are probably very few people developing just for Panther right now, it's probably wise to leave it disabled.


-Prachi

That is a false statement.

I believe that someone said this earlier in the thread, but just to make the point again, if you use the Objective-C exceptions that are more "built-in" to the language, your code will continue to run just fine in older versions of the OS. The _exact_ same mechanism is used for the language-based exception handling that is used by the macro-base exception handling.

You can only compile the language-based exceptions using gcc 3 (which will run on Jaguar) but the resulting code is certainly NOT going to limit your code to Panther only.

Scott
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Exception handling
      • From: Andreas Mayer <email@hidden>
References: 
 >Exception handling (From: Martin-Gilles Lavoie <email@hidden>)
 >Re: Exception handling (From: ryan <email@hidden>)
 >Re: Exception handling (From: Frank Midgley <email@hidden>)
 >Re: Exception handling (From: Chris Hanson <email@hidden>)
 >Re: Exception handling (From: "Michael B. Johnson" <email@hidden>)
 >Re: Exception handling (From: Frank Midgley <email@hidden>)
 >Re: Exception handling (From: Prachi Gauriar <email@hidden>)

  • Prev by Date: Re: Code Balancing
  • Next by Date: Re: Exception handling
  • Previous by thread: Re: Exception handling
  • Next by thread: Re: Exception handling
  • Index(es):
    • Date
    • Thread