
Bulat Ziganshin
Well, it clearly demonstrates that it is possible to write fast code in Haskell.
my measures says that by psending 3x more time than for C you can optimize haskell code to be only 3x slower than C one
Right¹, the interesting thing is not how fast I can get with N times the effort, but if I can get fast enough with 1/N.
when people are crying that their code isn't as fast as those ads say. haskell compilation can't yet automatically avoid laziness and convert pure high-level code into equivalent of C one.
Many of those people are making fairly simple mistakes. I think a somewhat seasoned programmer using good libraries can write declarative, concise, and readable code that still is reasonably fast. -k ¹) At least for some approximation of the word. Only one benchmark on the shootout has C at a 3x advantage. -- If I haven't seen further, it is by standing in the footprints of giants