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

Bill Baxter wbaxter at gmail.com
Fri Nov 10 10:17:56 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.

I think even Microsoft's compiler is 5-20% slower than the Intel's 
compiler, depending on the particular code in question (particularly SSE 
optimizeable things).  So I don't think this speed difference is 
something to be so worried about.

Still, there's a big difference between 5% and 20%.  Do you have any 
observations about what sorts of things put you in the 20% category?

--bb



More information about the Digitalmars-d mailing list