
7 Sep
2012
7 Sep
'12
7:09 a.m.
On 06.09.2012 21:01, Oliver Kowalke wrote: >> not use any exceptions whatsoever. I spent two solid >> hours removing all traces of exceptions while embedding >> Coroutine. The result was a lightweight mechanism >> that only costed a few kilobytes of program code. > 4) Furthermore, the lightweight version should not > Some of the exceptions are replaced by assertions (pre-conditions) - > one exception 'stack_unwind' is required in order to unwind the stack. > The question is how to unwind the stack without throwing exceptions. > Of course there is the Itanium unwind API but not all compiler provide > it (gcc does, pgi not). Is there a point? I was under the impression that the heavy part of exception handling is the unwind tables, so if you get rid of that, you can't use unwind anyway. Sebastian