Inherent code performance advantages of D over C?

Walter Bright newshound2 at digitalmars.com
Sat Dec 7 09:33:53 PST 2013


On 12/7/2013 1:45 AM, Joseph Rushton Wakeling wrote:
> TL;DR the point is that writing in D gave me the opportunity to spend mental and
> programming time exploring these different choices and focusing on algorithms
> and data structures, rather than all the effort and extra LOC required to get a
> _particular_ idea running in C.  That's where the real edge arises.

I've noticed this too, but I've found it hard to explain to C programmers.

To say it a different way, D makes it easy to refactor code to rapidly try out 
different algorithms. In C, one tends to stick with the original design because 
it is so much harder to refactor.


More information about the Digitalmars-d mailing list