Experimental approach to reference-type random number generators

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Aug 30 06:38:16 PDT 2013


On 30/08/13 15:32, Dmitry Olshansky wrote:
> This is simply not acceptable, I'll put a minimized test-case in Bugzilla if
> nobody beats me to it.

Please do, I think you will state the case better than me :-)

> It seems a fundamental bug in closures. They have to work somehow with these
> structs esp as in this case there need not to allocate GC closure (no references
> escapes scope of std.array.array).

Oddly enough that's a relief, because it means that the approach I've outlined 
to RNGs probably isn't fundamentally flawed.



More information about the Digitalmars-d mailing list