Hacker News new | ask | show | jobs
by pbsd 4442 days ago
The C++ standard gives little guarantees for the quality of std::random_device. As I remember, MinGW on Windows uses the Mersenne Twister with a hardcoded seed for it.

boost::random_device, on the other hand, has better guarantees: it is only implemented where there's a decent entropy source.

1 comments

Thanks for the info. Seeing as I'm already using boost, that sounds very useful.