Re: saving std.random RNG state

2018-12-18 Thread Steven Schveighoffer via Digitalmars-d-learn
On 12/17/18 8:18 PM, Neia Neutuladh wrote: On Mon, 17 Dec 2018 22:20:54 +, harfel wrote: I am looking for a way to serialize/deserialize the state of the std.random.Random number generator, ideally using orange (https://github.com/jacob-carlborg/orange) or another serialization library. From

Re: saving std.random RNG state

2018-12-17 Thread Neia Neutuladh via Digitalmars-d-learn
On Mon, 17 Dec 2018 22:20:54 +, harfel wrote: > I am looking for a way to serialize/deserialize the state of the > std.random.Random number generator, ideally using orange > (https://github.com/jacob-carlborg/orange) or another serialization > library. From looking at the module source code, I

saving std.random RNG state

2018-12-17 Thread harfel via Digitalmars-d-learn
I am looking for a way to serialize/deserialize the state of the std.random.Random number generator, ideally using orange (https://github.com/jacob-carlborg/orange) or another serialization library. From looking at the module source code, I understand how to seed a random number generator with