hap.random: a new random number library for D
Joseph Rushton Wakeling via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Jun 9 11:09:20 PDT 2014
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