[Haskell-cafe] What's the deal with Clean?

Ketil Malde ketil at malde.org
Wed Nov 4 11:43:38 EST 2009


Bulat Ziganshin <bulat.ziganshin at gmail.com> writes:

>> 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


More information about the Haskell-Cafe mailing list