out-of-line and arch-specific random_device

Ulrich Drepper drepper@gmail.com
Tue Aug 28 14:29:00 GMT 2012


On Tue, Aug 28, 2012 at 9:14 AM, Andi Kleen <andi@firstfloor.org> wrote:
\> RDRAND is more for cryptographic purposes (key generation etc.), it's not
> supposed to replace pseudo random generators for simulations.

And that's exactly what random_device is for.  It's not an random
number engine like the rest.  It's suposed to be non-deterministic.



More information about the Libstdc++ mailing list