Optimizations and performance

Wyatt via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 9 08:16:34 PDT 2016


On Thursday, 9 June 2016 at 13:56:37 UTC, Kagamin wrote:
> On Thursday, 9 June 2016 at 13:52:38 UTC, Dave wrote:
>> But it is the point of benchmarking
>
> So it's not "languages should be fast by default", but 
> "benchmarks should be fast by default"?

Well, _this_ took some weird leaps from what I actually said...

The point is this sort of language benchmark should use normal 
code.  The sort of code that people who've never heard of Haskell 
would write.

If it's a "fast" language, "ordinary-looking" code should be 
fast.  If being fast requires weird circumlocutions that barely 
anyone knows, it doesn't matter if experts consider it best 
practice.

-Wyatt


More information about the Digitalmars-d mailing list