On Friday 26 April 2013 20:33:36 Graydon Hoare wrote:
> On 26/04/2013 6:47 PM, Huon Wilson wrote:
> > I'm proposing creating std::rand with these, possibly with a few extra
> > traits e.g. "RandomDistribution". For reference the C++ stdlib
> > contains a whole pile of distributions
> > (http://www.cplusplus.com/reference/random/), as does the Python
> > stdlib. (Is this wiki-bikeshed worthy?)
> 
> Again, this feels like something where the library process of surveying,
> documenting and distilling might shed some light. I believe the recent
> work from C++11 is nearly state of the art, but I wouldn't be surprised
> if other languages have important contributions to the design space to
> be aware of also.

Haven't had the chance to use the C++11 random library yet, but it looks good. 
Also worth mentioning is the GSL library, which despite its age is (AFAIAA) 
well regarded and very extensive:
https://www.gnu.org/software/gsl/manual/html_node/
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to