[Top][All Lists]

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

Re: Should Emacs provide a uuid function?

From: joakim
Subject: Re: Should Emacs provide a uuid function?
Date: Mon, 09 May 2011 19:45:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I'm not sure we should introduce a separate function, though.  It makes
>> more sense to improve the existing `random' primitive, making it return
>> a random number (via /dev/random or /dev/urandom or GnuTLS) rather than
>> a pseudo-random number when possible.
> `random' is supposed to be a PRNG, not an RNG.
> I don't see any reason why we should make it significantly better than
> libc's own PRNG (i.e. any bug report on a weakness of our `random'
> should be forwarded to the corresponding libc's maintainers).
> OTOH we should provide a way to seed the PRNG with an RN as well as to
> re-seed it with the same seed.
>         Stefan

Is this thread relevant?


(My interest is rather esoteric so I haven't done it yet for lack of
time. This is my usecase https://github.com/jave/el-tarot)

Joakim Verona

reply via email to

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