Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 25, 2016 Mir Random announce - Professional RNGs | ||||
---|---|---|---|---|
| ||||
https://github.com/libmir/mir-random http://docs.random.dlang.io/latest/index.html |
November 26, 2016 Re: Mir Random announce - Professional RNGs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Yaroshenko | 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 Re: Mir Random announce - Professional RNGs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Yaroshenko | 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 Re: Mir Random announce - Professional RNGs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adrian Matoga | 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 Re: Mir Random announce - Professional RNGs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Yaroshenko | 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 |
Copyright © 1999-2021 by the D Language Foundation