Email List: Xaustin-group-futures-lX
[All Lists]

Random number generation (was Re: Some RFEs that (may) deservediscussion

To: Geoff Clare <gwc@xxxxxxxxxxxxx>
Subject: Random number generation (was Re: Some RFEs that (may) deservediscussion)
From: Nick Stoughton <nick@xxxxxxxxxx>
Date: Wed, 26 Mar 2008 09:44:09 -0700
Cc: austin-group-futures-l@xxxxxxxxxxxxx
Organization: USENIX
References: <47E17314.1080403@hccfl.edu> <200803192009.m2JK9qE04066@mailman.opengroup.org> <47E1740E.9010305@acm.org> <20080326112501.GA793@squonk.masqnet>
On Wed, 2008-03-26 at 11:25 +0000, Geoff Clare wrote:
> > Define awk's rand() function more completely; it is
> > currently the only user-level command that can generate
> > random numbers.
> 
> Obviously this one will depend on the detail of what you want to
> specify.  It should only be okay as long as it doesn't break any
> existing awk implementations. 

While this is not an unreasonable request, and I would like to see awk's
rand() better specified, I believe that a future revision would be
better off specifying one or both of /dev/random and /dev/urandom. I
believe all modern POSIX and POSIX like systems support these devices
anyway ... and while it is a *relatively* recent addition, everyone
implements them basically the same already (OK, at least the urandom
device).
-- 
Nick

<Prev in Thread] Current Thread [Next in Thread>