News for hackers. Stuff that matters.
Re:DigitalMars C/C++ Compiler by le-mark on Wednesday May 23, 2018 @05:54AM (#17132725)
Is the exception handling DMC C++ implements zero cost or setjmp/longjmp based?
Re:DigitalMars C/C++ Compiler by WalterBright on Wednesday May 23, 2018 @03:51PM (#17137573)
C++ EH is never zero cost, despite the hype. Herb Sutter just wrote a proposal to redo the semantics in C++ to reduce the cost of it.

DMC++'s EH is not setjmp/longjmp, it is Windows SEH (Structured Exception Handling) based. The 32 bit DOS extender EH is based on my own table-based design.

Re:DigitalMars C/C++ Compiler by MaxBarraclough on Wednesday May 23, 2018 @11:41AM (#17135034)
I'm pretty clueless here, but from a quick search on GitHub it looks like there's support for NT exception handling, and DWARF exception handling. (I realise this doesn't really answer your question, but it's a start.)

https://github.com/DigitalMars/Compiler/blob/7a33233c/dm/src... https://github.com/DigitalMars/Compiler/blob/7a33233c/dm/src...