3 ms·
> The idea is that there should be a thread local random number engine – possibly hidden, but it might actually be exposed to the user; that’s still being decid
by mastax 9y ago
> The idea is that there should be a thread local random number engine – possibly hidden, but it might actually be exposed to the user; that’s still being decided. That will most likely be a Mersenne Twister – because that’s just the best all-round pseudo-random number generator, and it generates excellent “random” sequences.
I think this is a nice article, but this part stood out to me. I've heard many times here on HN that it's one of the worst non-cryptographic pseudo-random number generators in common use.
I couldn't find the specific article, but this Q/A had some good information and links: https://cs.stackexchange.com/questions/50059/why-is-the-mersenne-twister-regarded-as-good https://cs.stackexchange.com/questions/50059/why-is-the-mers...
- rurban 9y ago10 years ago the Mersenne Twister was good enough, nowadays not anymore. I wrote this: https://cs.stackexchange.com/questions/50059/why-is-the-mersenne-twister-regarded-as-good/53475#53475 https://cs.stackexchange.com/questions/50059/why-is-the-mers...