Increasing speed of D applications to Intel C compiled applicaitons' standards

Teoman Soygul tsoygul at tralsoft.com
Fri Nov 10 11:06:54 PST 2006


== Quote from Bill Baxter (wbaxter at gmail.com)'s article
> 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

Comparing Digital Mars C to Intel C really is a good idea to see
if the performance difference is about D & C or D compiler and C
compiler. I'll do that comparison also and post it so we can
evaluate.



More information about the Digitalmars-d mailing list