Of the use of unpredictableSeed

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 6 01:50:37 PST 2017


On Sunday, 5 March 2017 at 15:30:29 UTC, Andrei Alexandrescu 
wrote:
> Another good thing pointed by the article would be to use the 
> Mersenne twister for unpredictableSeed, which would make it 
> difficult to infer the sequence from a few samples. Please 
> share if that would be a good thing to do.

Seeding a PRNG from the same PRNG often gives bad results.
Also maybe rename it to arbitrarySeed, unpredictability is not 
the right claim here.


More information about the Digitalmars-d mailing list