News for hackers. Stuff that matters.
Re:Make your program slower with threads by anon4 on Sunday December 07, 2014 @06:53AM (#8711922)
Aren't you supposed to use arc4random once to seed a high-quality pseudorandom generator? From what I understand, seeding a high-quality PRNG with good source of randomness is really all you need.
Re:Make your program slower with threads by makomk on Sunday December 07, 2014 @07:34AM (#8711981)
arc4random is their high-quality pseudorandom generator that's seeded from a good source of randomness (namely, the getentropy system call).
Re:Make your program slower with threads by thirsteh on Sunday December 07, 2014 @04:16PM (#8713601)
Yes, but like urandom the general intent (at least when performance is desired) is you use it to seed your own PRNG and avoid making system calls every time you need random data.