3 ms·
> Idiomatic Haskell code may well be slower… So it's a good thing that those "benchmarks do not compare like-for-like" because that allows the inclusion of idi
by igouy 8y ago
> Idiomatic Haskell code may well be slower…
So it's a good thing that those "benchmarks do not compare like-for-like" because that allows the inclusion of idiomatic Haskell code?
- willtim 8y agoI can certainly see merit in that idea. The problem is that it's often not clear what the idiomatic style for a particular language applied to a particular problem is. Many of the Haskell solutions also look quite old, predating for example the now standard Haskell "Vector" library. It's a useful resource, but I think we should we wary of making very general remarks based on the results.
- igouy 8y agoWe should we wary of making very general remarks, period. The benchmarks game is not restricted to "the idiomatic style" so it isn't a problem that "the idiomatic style" for a particular problem is often not clear. > Many of the Haskell solutions also look quite old… We would be very happy to accept new programs: https://salsa.debian.org/benchmarksgame-team/benchmarksgame/blob/master/CONTRIBUTING.md https://salsa.debian.org/benchmarksgame-team/benchmarksgame/...