Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
makomk
on Dec 7, 2014
|
parent
|
context
|
favorite
| on:
Make your program slower with threads
arc4random
is
their high-quality pseudorandom generator that's seeded from a good source of randomness (namely, the getentropy system call).
thirsteh
on Dec 7, 2014
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: