Hi Mark,

Thanks for the explanations!

On Fri 20 Jan 2012 19:52, Mark H Weaver <m...@netris.org> writes:

> We have a 64-bit PRNG, but even if you make sure to seed it with a
> number that has plenty of entropy, `seed->random-state' will only
> preserve around 32 bits of it.

Wow, that's horrible.  Agreed that this needs fixing.

How about, we extend seed->random-state to operate on bytevectors, and
have that interface do the right thing.  We deprecate the number
interface.  At some point in the future we deprecate the string
interface as well.

I'm hesitant to make seed->random-state change the rstate that it
produces, for a given seed.  It's unlikely anyone is relying on this,
but who knows...

WDYT?

Andy
-- 
http://wingolog.org/

Reply via email to