[Haskell-cafe] Great language shootout: reloaded

Isaac Gouy igouy2 at yahoo.com
Fri Nov 10 21:56:57 EST 2006


> On 11/10/06, Henk-Jan van Tuyl <hjgtuyl at chello.nl> wrote:
>>
>> Haskell suddenly dropped several places in the overall socre, when
the
>> size measurement changed from line-count to number-of-bytes after
>> gzipping. Maybe it's worth it, to study why this is; Haskell
programs 
>> are
>> often much more compact then programs in other languages, but after
>> gzipping, other languages do much better. One reason I can think of,
is
>> that for very short programs, the import statements weigh heavily.


Before this gets out-of-hand, my memory is certainly fallible but as I
recall Haskell /did not/ drop several places because size measurement
changed from line-count to gzip byte-count.


1) Check the webpage that Don Stewart cached and note the values for
the memory use and code-lines multipliers, and note the values for the
benchmark weights
   http://www.cse.unsw.edu.au/~dons/data/haskell_1.html
 
Now go to the computer language shootout website and note the
multipliers and benchmark weights.


2) Some Haskell programs were pushed into 'interesting alternative
implementations' because they'd strayed so far from the spirit of the
benchmark. (It takes a while for people to notice and complain, but
eventually they do.)



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


More information about the Haskell-Cafe mailing list