On Wednesday, 17 February 2016 at 22:57:20 UTC, Márcio Martins wrote:
Currently, newcomers come expecting their algorithm from rosetta code to run faster in D than their current language, but then it seems like it's actually slower. What gives?

Squeezing that last ounce of performance out of the processor is only one reason to use D, and to be perfectly honest, not likely to ever be a selling point, because you're not going to consistently beat C++ by 30% or 40% anyway.

D's selling point is the design of the language. DMD offers another selling point, fast compilation, and for many tasks the inefficiency is irrelevant. "If you're careful, as fast as C++" isn't by itself the most compelling sales pitch.

Reply via email to