[Haskell-cafe] Performance question

Ketil Malde ketil at malde.org
Fri Feb 27 01:50:17 EST 2009

Lennart Augustsson <lennart at augustsson.net> writes:

> C's rand() function is very bad and should never be used really.

On Linux (really GNU libc, I suppose) it is the same as random().  But
for portability, one is encouraged to spend the two extra letters.  I
don't understand the details, but I think the Mersenne twister is much
better in any case.  

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list