News for hackers. Stuff that matters.
Re:Why should I have written ZeroMQ in C, not C++ by cobrausn on Thursday May 10, 2012 @12:52PM (#3954484)
Though we probably learned this is not the way to use them, I have seen numerous real-world examples where this was the case.

Not only that, I don't think C++ exceptions are necessarily very good at being a 'last barrier' before a crash - they simply can't catch all the errors, because they are good at indicating conditions that might be recoverable, not catching and recovering from logic errors that would cause a crash. There are plenty of ways to hang yourself in C++ without ever throwing an exception.

Re:Why should I have written ZeroMQ in C, not C++ by figglesonrails on Thursday May 10, 2012 @01:07PM (#3954598)
"Though we probably learned this is not the way to use them, I have seen numerous real-world examples where this was the case."

Ah, Java code at my workplace.

   catch(Exception e) {}
Re:Why should I have written ZeroMQ in C, not C++ by LoneWolf on Thursday May 10, 2012 @05:05PM (#3956022)
I believe you mean catch(Throwable t) {}