Re:What I Wish I Knew When Learning Haskell 2.0
by igouy on Friday April 25, 2014 @02:52PM
(#7648376)
>but the cost increases non-linearly<
Do you think the source code for those optimized for the last bit of performance programs tells us something about that?
>Of course one could, but what would that accomplish?<
Could one? Perhaps there'd be complaints that your "idiomatic programs" were just naïve.
A passive website like the benchmarks game can never be enough, by itself, to educate and inform all (or even most) readers -- reading selectively is far too commonplace and errare humanum est.
The benchmarks game is a resource. There are enough examples that when someone draws a misinformed conclusion, we can usually show them a counter-example and ask them to think.
But only if someone contributes those (whatever they consider idiomatic to be) idiomatic programs as counter-examples.
Of course it does, but the cost increases non-linearly and you have to find the right trade-off for the situation at hand. Do you want maintainability or absolute performance?
> Provide some!
Of course one could, but that would that accomplish? Everyone who thinks these benchmarks have value just looks at the fastest-performing version of $YOUR_LANG_BENCHMARK. Hint: Mostly it won't be idiomatic regardless of the value of $YOUR_LANG.