Re:Rust Cookbook
by nicoburns on Sunday March 17, 2019 @09:32PM
(#19418036)
Largely because the design wasn't finished in time for the Rust 1.0 release, and they didn't want to commit to the API.
This way of doing things has it's advantages though. People are still coming up with new ways of generating random numbers, and in an external library you can release a major version and remove deprecated functionality without breaking anybody's code.
Re:Rust Cookbook
by int_19h on Monday March 18, 2019 @02:06AM
(#19419009)
For comparison, here's how it worked out with C++, which now suffered through not one, but (if you count the original C standard library) two iterations of random number generation APIs with significant flaws in them.
This way of doing things has it's advantages though. People are still coming up with new ways of generating random numbers, and in an external library you can release a major version and remove deprecated functionality without breaking anybody's code.