Random Number Update

Henning Thielemann lemming at henning-thielemann.de
Tue Jan 24 20:53:48 UTC 2017


On Tue, 24 Jan 2017, Dominic Steinitz wrote:

> 2. Most people do *not* use it. I believe
>    https://hackage.haskell.org/package/mwc-random is a popular choice
>    but developers are free to use e.g. Mersenne Twister, PCG
>    (Permuted Congruential Generator), TF (ThreeFish) and many others.

I have used the plain old System.Random exclusively for years now and did 
not encounter any problems, but I also did not watch for them. I used 
System.Random for Markov chains, audio noise generation, randomized 
algorithmic music, board game computer opponents etc. I'd like to keep a 
default random generator for the many cases where I don't care about the 
precise algorithm. That said, I got used to some randomized synthesized 
sounds and randomized melodies such that I already noticed changes in the 
random generator implementation.


More information about the Libraries mailing list