Thread overview
[Issue 5249] Strongly pure random generator
Dec 17, 2022
Iain Buclaw
October 14, 2016
https://issues.dlang.org/show_bug.cgi?id=5249

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bootcamp

--- Comment #6 from Andrei Alexandrescu <andrei@erdani.com> ---
This would work with the smaller rngs but not very well with the Mersenne twister which has iirc 4KB of state.

We should be able to allow this to work for the appopriate rngs:

auto identity(Rng)(Rng r) pure { r.popFront; return r; }

Then threading generators about is trivial. I'll bootcamp this.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=5249

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--
December 01
https://issues.dlang.org/show_bug.cgi?id=5249

--- Comment #7 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/9893

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--