News for hackers. Stuff that matters.
Re:Randomness in .NET by carlmr on Tuesday August 28, 2018 @08:35AM (#17858277)
Another use case would be you simulating a physical system with random noise. You get an error for a certain noise sequence. You might want to be able to get the same random sequence back.
Re:Randomness in .NET by iainmerrick on Tuesday August 28, 2018 @09:26AM (#17858596)
But does it need to be reproducible for all time, on all platforms?
Re:Randomness in .NET by eropple on Tuesday August 28, 2018 @09:49AM (#17858761)
Basically, yes.

If they wanted to incorporate Math.NET Numerics (which is pretty good, I have used it before for a lot of stuff) into the standard library alongside the existing RNG architecture, I'd be down for that, but I expect the same seeds to play for me the same sequences everywhere because if they don't simulations, games, etc. will break.

Eventually you can deprecate the existing System.Random and turn its implementation into (using Math.NET Numerics terminology) a separate RandomSource, and eventually remove System.Random, but you can't change the contract of System.Random.