D vs C++ - Where are the benchmarks?

Iain Buclaw ibuclaw at ubuntu.com
Mon Jul 1 01:14:41 PDT 2013


On Jul 1, 2013 7:16 AM, "dennis luehring" <dl.soluz at gmx.net> wrote:
>
> Am 01.07.2013 03:07, schrieb Kapps:
>
>> If you're concerned about performance, I'd recommend against
>> using DMD for your release builds. GDC and LDC will give much
>> better performance, and GDC works perfectly fine on Windows. LDC
>> has some problems with exception handling AFAIK on Windows.
>
>
> GDC got the same Exception problems like LDC - no support for SEH
> but Exceptions are working - only the Windows-internal-Exception ->
D-Exception transition is not working properbly
>
> but even using Visual Studio you need to add special flags or using
__try, __catch to get these - so normaly not a problem
>

Right, gcc (thus, gdc) uses sjlj (setjmp/longjmp) exceptions on Windows.
AFAIK, structured exception handling support in gcc is being developed to
overcome the weaknesses of both dw2 and sjlj.

Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130701/faaa0eb0/attachment.html>


More information about the Digitalmars-d mailing list