From: "ara.t.howard" Date: 2008-04-11T03:27:53+09:00 Subject: Re: C rand() in Ruby On Apr 10, 2008, at 10:20 AM, Chad Perrin wrote: > Is there some simple way to make use of C's rand() from within Ruby? > The daughter of someone I know is writing some toy scripts to compare > PRNG results for a science fair project . . . you mean other than just using rand ?? you *can* directly call the C function using ruby/dl (see examples in dist) cheers. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama