D vs C++ - Where are the benchmarks?

Iain Buclaw ibuclaw at ubuntu.com
Mon Jul 1 04:38:40 PDT 2013


On 1 July 2013 12:02, dennis luehring <dl.soluz at gmx.net> wrote:
> Am 01.07.2013 10:14, schrieb Iain Buclaw:
>>
>> 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.
>
>
> "...is being developed" thats means gcc got Windows-SEH support?
>

No, it hasn't.  If there are any patches, I can't see them after a cursory look.

There a wiki for discussion at least:
http://gcc.gnu.org/wiki/WindowsGCCImprovements


--
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list