[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should Emacs provide a uuid function?
From: |
Stefan Monnier |
Subject: |
Re: Should Emacs provide a uuid function? |
Date: |
Mon, 09 May 2011 12:51:07 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> 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
- Re: Should Emacs provide a uuid function?, (continued)
- Re: Should Emacs provide a uuid function?, Chong Yidong, 2011/05/09
- Re: Should Emacs provide a uuid function?, Eli Zaretskii, 2011/05/09
- Re: Should Emacs provide a uuid function?, Ted Zlatanov, 2011/05/09
- Re: Should Emacs provide a uuid function?, Eli Zaretskii, 2011/05/09
- Re: Should Emacs provide a uuid function?, Ted Zlatanov, 2011/05/09
- Re: Should Emacs provide a uuid function?, Lars Magne Ingebrigtsen, 2011/05/09
- Re: Should Emacs provide a uuid function?,
Stefan Monnier <=
- Re: Should Emacs provide a uuid function?, Lars Magne Ingebrigtsen, 2011/05/09
- Re: Should Emacs provide a uuid function?, Stefan Monnier, 2011/05/09
- Re: Should Emacs provide a uuid function?, joakim, 2011/05/09
- Re: Should Emacs provide a uuid function?, Lars Magne Ingebrigtsen, 2011/05/09
- Re: Should Emacs provide a uuid function?, Jason Rumney, 2011/05/10
- Re: Should Emacs provide a uuid function?, Lars Magne Ingebrigtsen, 2011/05/30