>>40 And how would you compare the speed of two programmes written in different languages?
In two easy steps:
1. time ./programmeA < input.dat
2. time ghc ./programmeB.hs < input.dat
There! Wasn't too hard now was i*** Exception: stack overflow
Name:
Anonymous2009-07-14 20:26
>>40
I'm pretty sure >>39 meant benchmarks comparing the same Haskell program compiled with -fvia-c and without it.
Name:
Anonymous2009-07-14 20:35
>>43
Haskell compiled program and C compiler program doing the same thing won't be the same, because Haskell uses, for example, different (linear) list accessing than C.
Name:
Anonymous2009-07-14 20:43
>>44
If given the same input they produce the same output, then it doesn't really matter how the internals operate.