en/programming/cc-exceptions.txt
2004-05-13
C++ exceptions considered harmful
Is there a mechanism to figure out what exception it is that fails to be
caught by any exception handler on the stack? Of course, it can be
caught by using catch (...), but that just tells me as much
as G++'s default handler: that some exception was thrown.
I've been implementing the Hao compiler in C++, as C was too low-level but I wanted something widespread. A public darcs repository is available for curious bystanders to stare at; I doubt anybody gets much out of it (the haoc/ subdirectory contains the compiler in development; the other directories are more or less stale). I push to that repository occasionally; it's not necessarily up to date.
23:22 - /en/programming - 1 comment



