Increasing speed of D applications to Intel C compiled applicaitons' standards
Bill Baxter
wbaxter at gmail.com
Fri Nov 10 10:21:39 PST 2006
Teoman Soygul wrote:
> My personal benchmarks prove that applications written in D are 5%
> to 20% slower than identical code written in C and compiled with
> Intel C compilter 9. Does anyone know what to do with this
> problem? Is it a compiler specific problem (ie: D compiler lacking
> all the optimisation parameters) or the standard d libary or
> what??
>
> Any information/idea would be appriciated. Before starting a big
> project, speed issues with D seems to be the biggest obstacle to
> overcome.
>
> Teoman Soygul,
> Alsoft.
One thing you might want to do is to also compare with C code compiled
using the Digital Mars C compiler since dmd and dmc use the same back
end. This should help clarify what's due to inherent differences in the
languages and what's just differences in compiler optimization.
--bb
More information about the Digitalmars-d
mailing list