hap.random: a new random number library for D
Andrea Fontana via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Jun 11 00:42:09 PDT 2014
Have you any plan to implement CMWC?
http://en.wikipedia.org/wiki/Multiply-with-carry#Complementary-multiply-with-carry_generators
On Monday, 9 June 2014 at 18:09:21 UTC, Joseph Rushton Wakeling
wrote:
> Hello all,
>
> Some of you may remember my earlier draft of a class-based
> std.random successor:
> http://forum.dlang.org/thread/cyytvhixkqlbwkmiugex@forum.dlang.org
>
> Following revisions made in response to feedback, and some
> further development, I decided that it would be best to release
> the results as a dub package with a new library name:
> http://code.dlang.org/packages/hap
>
> Source code and documentation is available here:
> https://github.com/WebDrake/hap
> http://code.braingam.es/hap/random/
>
> I've also written a blog post describing new features and the
> motivations behind this library:
> http://braingam.es/2014/06/hap-random-a-new-random-number-library-for-d/
>
> I think that hap.random fixes certain fundamental design issues
> with std.random. However, this needs to be put to the test "in
> the wild", so I'd really appreciate it if as many people as
> possible could try it out with their code, and report on the
> experience:
>
> * Does it run faster, slower, etc?
>
> * Do any undesirable memory allocation issues arise?
>
> * Is the API (broadly similar but not identical to
> std.random)
> pleasant to use?
>
> If it proves to be effective for everyone, then I will begin
> the process of submission as a new Phobos module.
>
> Thanks in advance for all testing and feedback.
>
> Best wishes,
>
> -- Joe
More information about the Digitalmars-d-announce
mailing list