News for hackers. Stuff that matters.
Re:Fork() without exec() is dangerous in large programs (2016) by Blikkentrekker on Tuesday June 14, 2022 @08:41PM (#31747840)
Reading up in the python documentation, it seems to seed once from `/dev/urandom`, and then uses it's own generator to generate further random bits.

What's the purpose for this strategy opposed to deriving every single random value from `/dev/urandom`, simple performance?

Re:Fork() without exec() is dangerous in large programs (2016) by ninkendo on Tuesday June 14, 2022 @10:05PM (#31748326)
Reading from /dev/urandom requires a syscall, which can be extremely slow compared to running your own prng in-process.