D 1.076 Alpha for Windows 64 bits, works with VS 2010
Jacob Carlborg
doob at me.com
Sat Sep 29 12:22:27 PDT 2012
On 2012-09-29 18:08, Andrej Mitrovic wrote:
> Also how are we supposed to control when a C++ library throws? We
> could wrap every single function wrapper with a try/catch, but won't
> this create a massive slowdown?
I'm not sure but I don't think so. As I understand it, DWARF on Posix
and SEH on Windows are zero-cost exception handling systems. This means
that there will be no performance loss at runtime as long as no
exception is thrown. setjmp/longjmp on the other do have performance
impacts at runtime.
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list