emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: random doesn't feel very random


From: Leo
Subject: Re: random doesn't feel very random
Date: Sat, 01 Sep 2012 07:04:02 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8.1)

On 2012-08-31 23:06 +0800, Stefan Monnier wrote:
> As for whether they're bugs or not: I tend to agree that they're bugs,
> but since currently our PRNG is not automatically seeded, those packages
> that need their `random' to vary (IOW basically every package that
> uses random) have no other choice but to call (random t) explicitly at
> various times.

I have seen packages using the accidental return value of (random t) so
the misuse of (random t) is indeed misuse.

Leo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]