[Haskell-cafe] Re: [Haskell] [Fwd: Re: Computer Language Shootout]

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Jan 30 17:39:55 EST 2007


Hello Neil,

Friday, January 26, 2007, 3:06:18 AM, you wrote:

>> One could point to O'caml or others in the ML family, or even more
>> interesting is the case of Clean, whose syntax heavily borrows from Haskell.

> ML is strict, this makes a big difference. Things that Haskell
> compilers do easily (inlining) are harder in a strict language. Things
> that strict languages do easily (unboxing) are harder in Haskell.
> There are enough differences to make it not a "same thing" issue.

actually, Haskell code in shootout is highly optimized and use, among
other tricks, `seq` to make all required variables strict and/or
unboxed. so the difference only because ML/Clean generates faster code
for low-level imperative programs

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list