Joseph Rushton Wakeling:
Few first comments:
* std.random2.adaptor, random "adaptors" such as
randomShuffle,
randomSample, etc.
Please don't use stuttering names like
"std.random2.randomShuffle". "std.random2.shuffle" is enough.
My own feeling is that ultimately it is a responsibility of the
language to offer nice ways to allocate classes without
necessarily relying on new or the GC.
I don't think the language is yet there. So I think currently
this is not a good idea.
Do you have a simple but very fast function that generates
uniforms in [0.0, 1.0]? :-)
Bye,
bearophile