rust-random/rand
View on GitHub ↗ ★ 2,094 Rust
A Rust library for random number generation.
8 mentions on Hacker News by 8 people: 1 story, 7 comments · first 2020-11-17 · latest 2025-01-31
20082026
-
▲ 4
Rust's rand 0.9.0 is outstory by todsacerdoti · 2025-01-31 · 0 comments
-
…https://github.com/rust-lang/hashbrown https://github.com/briansmith/ring https://github.com/rust-random/rand Lot of Rust programmers also coming from C, C++, and Go btw.
comment by mcqueenjordan · 2022-12-09 · in Data-driven performance optimization with Rust and Miri -
…full-precision mapping methods, such as multiplication by a float, is not always clear [1]. [1] https://github.com/rust-random/rand/issues/416
comment by binarycoffee · 2022-08-06 · in Original source of `(seed * 9301 and 49297) % 233280` random algorithm? (2014) -
…in July 2019) [0], the regex crate supports down to 1.41.1 (released Feb 2020) [1], etc. [0]: https://github.com/rust-random/rand#rust-version-requirement... [1]: https://github.com/rust-lang/regex#minimum-rust-version-poli...
comment by nicoburns · 2022-06-23 · in Linus Torvalds: Rust for the Kernel Could Possibly Be Merged for Linux 5.20 -
…of "difficult-to-predict-but-not-crypto": usually it just means it is so easy to break that nobody https://github.com/rust-random/rand/issues/905#issuecomment-...
comment by zokier · 2021-12-20 · in Designing a New PRNG -
It’s spreading https://github.com/rust-random/rand/issues/1172
comment by quickthrower2 · 2021-09-02 · in An optimal algorithm for bounded random integers -
…would come out as a "bible"? As for bounds check, here's a relevant issue raised on rand crate: https://github.com/rust-random/rand/issues/592 One can dig for a kind of "unsafe assertions" with https://doc.rust-lang.org/std/hint/fn.unreacha…
comment by __s · 2020-11-17 · in The Rust Performance Book