DEV Community


Discussion on: 3 Amazing ways to generate random numbers without Math.random()

epse profile image
Stef Pletinck

They are generally exposed through the OS/Kernel's randomness functions, which are then used again in other languages and programs. I don't know if Math.rand() uses it or not though.

Thread Thread
artis3n profile image
Ari Kalfus

I don't want to toot my own horn, but I did write an article a while back on pseudo-randomness vs randomness in OS systems: You both may be interested in it.