Real talk: If rust added a random numbers to the standard library, they would almost certainly have done a worse job the rand crate - which has multiple rngs with a standard api, and a whole lot of great sampling methods. (Eg choose from this set, shuffle a list, get a bool with some probability bias, etc.)
Rand is basically part of the standard library as far as I’m concerned. You just have to add it to cargo.toml to use it.
josephg|2 years ago
Rand is basically part of the standard library as far as I’m concerned. You just have to add it to cargo.toml to use it.
tptacek|2 years ago