Some of you may remember my earlier draft of a class-based
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:
Source code and documentation is available here:
I've also written a blog post describing new features and the
motivations behind this library:
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
* 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.