Inherent code performance advantages of D over C?
John Colvin
john.loughran.colvin at gmail.com
Sun Dec 8 06:23:04 PST 2013
On Sunday, 8 December 2013 at 13:02:56 UTC, ponce wrote:
> On Sunday, 8 December 2013 at 13:00:26 UTC, Joseph Rushton
> Wakeling wrote:
>> How is icc doing these days? I used it years ago (almost 10
>> years ago!) when it produced significantly faster executables
>> than gcc, but I had the impression that more recent gcc
>> releases either matched its performance or significantly
>> narrowed the gap.
>
> I don't know. People say the gap has reduced a lot and you have
> to use the #pragmas to get ahead.
My experience is that if you write loads of loops that *are*
vectorisable, but not trivially so, and then run on modern intel
hardware, intel will beat gcc. Otherwise, probably not. It's
become a rather narrow target.
More information about the Digitalmars-d
mailing list