Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2022 (4)
20082026
  1. …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.
  2. …project, though it's not part of std. You can seed the RNG[1]. [0] https://crates.io/crates/rand , https://github.com/rust-random/rand [1] https://docs.rs/rand/latest/rand/rngs/struct.StdRng.html#met...
    comment by mynameisash · 2022-10-18 · in Why Rust?
  3. …full-precision mapping methods, such as multiplication by a float, is not always clear [1]. [1] https://github.com/rust-random/rand/issues/416
  4. …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...
  5. …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
  6. 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
  7. …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