4 ms·
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 advan
by nicoburns 8y ago
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.
- int_19h 8y agoFor 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. http://www.pcg-random.org/posts/cpp-seeding-surprises.html http://www.pcg-random.org/posts/cpp-seeding-surprises.html