Hacker News new | ask | show | jobs
by e28eta 4023 days ago
"The standard Cocoa convention is that exceptions signal programmer error and are not intended to be recovered from. Making code exceptions-safe by default would impose severe runtime and code size penalties on code that typically does not actually care about exceptions safety. Therefore, ARC-generated code leaks by default on exceptions, which is just fine if the process is going to be immediately terminated anyway. Programs which do care about recovering from exceptions should enable the option."

http://clang.llvm.org/docs/AutomaticReferenceCounting.html#e...

1 comments

ARC was short lived and is deprecated.
Am I missing something? ARC is the default when you start any ObjC-based Xcode project. It's not deprecated.