Thread overview
Mir Random announce - Professional RNGs
Nov 25, 2016
Ilya Yaroshenko
Nov 26, 2016
Rory McGuire
Nov 26, 2016
Adrian Matoga
Nov 26, 2016
Ilya Yaroshenko
November 25, 2016
https://github.com/libmir/mir-random
http://docs.random.dlang.io/latest/index.html
November 26, 2016
On Sat, Nov 26, 2016 at 1:14 AM, Ilya Yaroshenko via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com> wrote:
>
> https://github.com/libmir/mir-random http://docs.random.dlang.io/latest/index.html


Like the betterC use case. Nice API.

first example from the docs:

import mir.random.engine.xorshift;
auto gen = Xorshift(1);
auto s = gen.rand!short;
auto n = gen.rand!ulong;
November 26, 2016
On Friday, 25 November 2016 at 23:14:06 UTC, Ilya Yaroshenko wrote:
> https://github.com/libmir/mir-random
> http://docs.random.dlang.io/latest/index.html

Cool!
I'd only suggest renaming "algorithm" to "range", to better reflect what's inside the module.
November 26, 2016
On Saturday, 26 November 2016 at 11:21:54 UTC, Adrian Matoga wrote:
> On Friday, 25 November 2016 at 23:14:06 UTC, Ilya Yaroshenko wrote:
>> https://github.com/libmir/mir-random
>> http://docs.random.dlang.io/latest/index.html
>
> Cool!
> I'd only suggest renaming "algorithm" to "range", to better reflect what's inside the module.

They are actually algorithms, in exactly the same sense as `std.algorithm`; it's just that they include random decisions in the generation of their elements.
November 26, 2016
On Friday, 25 November 2016 at 23:14:06 UTC, Ilya Yaroshenko wrote:
> https://github.com/libmir/mir-random
> http://docs.random.dlang.io/latest/index.html

The first Mir Random benchmark!
https://forum.dlang.org/post/jpoicjgffljvqkoxgrnx@forum.dlang.org