[Mono-list] Random

Miguel de Icaza miguel@ximian.com
25 Jul 2001 16:10:44 -0400


> I've been looking over the System.Random class. Do we need to use the same
> algorithm as Microsoft? The rest looks pretty easy.

I guess the only restriction on the random algorithm would be to have
the condition that the same seed would generate the same set of
numbers on each iteration (which seems to be something that is
explicitly documented in the interface).

That being said, we could provide also access to a `truly' random
system by taping for example on Linux on /dev/urandom.  That could be
a separate class