Of the use of unpredictableSeed

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 7 06:46:46 PST 2017


On Tuesday, 7 March 2017 at 10:18:52 UTC, Seb wrote:
> http://man7.org/linux/man-pages/man2/getrandom.2.html

>Unnecessarily reading large quantities of data will have a 
>negative impact on other users of the /dev/random and 
>/dev/urandom devices.  Therefore, getrandom() should not be used 
>for Monte Carlo simulations or other programs/algorithms which 
>are doing probabilistic sampling.

In other words it shouldn't be used when not strictly necessary.


More information about the Digitalmars-d mailing list