Re: Mir Random announce - Professional RNGs

2016-11-26 Thread Ilya Yaroshenko via Digitalmars-d-announce
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/jpoicjgffljvqkoxg...@forum.dlang.org


Re: Mir Random announce - Professional RNGs

2016-11-26 Thread Adrian Matoga via Digitalmars-d-announce
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.


Re: Mir Random announce - Professional RNGs

2016-11-25 Thread Rory McGuire via Digitalmars-d-announce
On Sat, Nov 26, 2016 at 1:14 AM, Ilya Yaroshenko via
Digitalmars-d-announce  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;


Mir Random announce - Professional RNGs

2016-11-25 Thread Ilya Yaroshenko via Digitalmars-d-announce

https://github.com/libmir/mir-random
http://docs.random.dlang.io/latest/index.html