3 ms·
The two most recommended options are variants of Xorshiro and PCG. There's a small comparison of the options in Rust's rand crate which I assume is neutral here
by zucker42 6y ago
The two most recommended options are variants of Xorshiro and PCG. There's a small comparison of the options in Rust's rand crate which I assume is neutral here: https://rust-random.github.io/book/guide-rngs.html https://rust-random.github.io/book/guide-rngs.html
Note that the writer of this paper is a author of Xorshiro, so that might influence his recommendation.
- loeg 6y agoSimilar comparison from the author of the PCG family: https://www.pcg-random.org/posts/other-good-options.html https://www.pcg-random.org/posts/other-good-options.html She's also written several times about flaws in various xorshift/xorshiro-family RNGs, e.g.: https://www.pcg-random.org/posts/xoshiro-repeat-flaws.html https://www.pcg-random.org/posts/xoshiro-repeat-flaws.html https://www.pcg-random.org/posts/implausible-output-from-xoshiro256.html https://www.pcg-random.org/posts/implausible-output-from-xos... https://www.pcg-random.org/posts/a-quick-look-at-xoshiro256.html https://www.pcg-random.org/posts/a-quick-look-at-xoshiro256.... https://www.pcg-random.org/posts/xoroshiro-fails-truncated.html https://www.pcg-random.org/posts/xoroshiro-fails-truncated.h...