random_device implementation
sotrdg sotrdg
euloanty@live.com
Thu May 10 23:50:00 GMT 2018
Hi libstdc++. Here is my rdseed+rtlgenrandom implementation of random_device for windows.
https://github.com/euloanty/mingw-std-random_device/blob/master/random_device_gcc_withcxx11abi/random.cc
I think rdrand should not be used for random_device since it is pseudo random which is not good for seeding.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Jason Merrill<mailto:jason@redhat.com>
Sent: Thursday, May 10, 2018 15:06
To: sotrdg sotrdg<mailto:euloanty@live.com>
Cc: libstdc++<mailto:libstdc++@gcc.gnu.org>; gcc-patches List<mailto:gcc-patches@gcc.gnu.org>
Subject: Re: random_device implementation
On Sat, May 5, 2018 at 8:34 PM, sotrdg sotrdg <euloanty@live.com> wrote:
> https://github.com/euloanty/mingw-std-random_device/blob/master/random_device_gcc_withcxx11abi/random.cc
It's best to CC the gcc-patches and libstdc++ lists on library contributions.
Jason
More information about the Libstdc++
mailing list