WordCount performance

Dave Dave_member at pathlink.com
Thu Mar 27 17:01:11 PDT 2008


"Saaa" <empty at needmail.com> wrote in message 
news:fsglqt$5n2$1 at digitalmars.com...
>
>> Saaa wrote:
>>> 4 is sort of what I was talking about: I would like the D compiler to 
>>> match the
>>> optimization level of (the gcc or even intel:) C compiler.
>>
>> D does match the optimization level of gcc: the GDC (gnu D compiler) uses 
>> gcc's optimizer and code generator.
>
> How does DMD's optimization compare?
>
> And maybe a silly question but how does optimizing D compare to optimizing 
> C++.
> Or is this exactly the same as the backend is that similar?
>

The shootout benchmarks seem to indicate that in the general case DMD is 
pretty close to GCC except for floating point (again, in general).




More information about the Digitalmars-d mailing list