News for hackers. Stuff that matters.
Re:Real cost of C++ exception vs error-code checking by barrkel on Tuesday March 08, 2011 @02:49PM (#2302330)
Binary working set sizes are often lower with exceptions than without, because exception handling code can be moved elsewhere by the compiler. Error-checking code, on the other hand, cannot be so easily detected, and hence moved.

I think the C++ implementation of exceptions has a lot to answer for though, in poisoning too many developers on the concept. It really is an awful implementation.

Re:Real cost of C++ exception vs error-code checking by pmjordan on Wednesday March 09, 2011 @05:27PM (#2306877)
C++ seems full of missed opportunities. I fear a lot of them are due to the slavish backward compatibility to C.