ansaurus

tags:

  • operating-system
  • random
  • random-number-generator

views:

120

answers:

1
Q: 

simulating randomness

I'm just curious...

How do you simulate randomness? How is it done in modern OS (Windows, Linux, etc.)?

Edit: Okay, NOT JUST GENERATING RANDOM NUMBER, which can be just done with calling rand() functions in most high level programming languages.

But, I'm more concerned with how it is actually done in modern operating systems.

+6  A: 

Please see:

http://stackoverflow.com/questions/584566/pseudo-random-number-generator

http://stackoverflow.com/questions/37702/true-random-number-generator

http://stackoverflow.com/questions/167735/fast-pseudo-random-number-generator-for-procedural-content

http://stackoverflow.com/questions/693880

http://stackoverflow.com/questions/44408/how-do-you-generate-a-random-number-in-c

http://stackoverflow.com/questions/369636/seeding-a-random-number-generator-in-net

http://stackoverflow.com/questions/403572/how-to-get-random-double-value-out-of-random-byte-array-values

http://stackoverflow.com/questions/167735/fast-pseudo-random-number-generator-for-procedural-content

etc...

Mitch Wheat  2009-04-03 07:01:15

related questions

What are some Real-Time Operating Systems for 32-bit processors?
How to do I check CPU and Memory Usage in Java?
How can I detect from a Swing app that the PC is being shut-down?
Which operating systems come with .net?
A Career in Operating Systems?
Does Java impose any further restrictions on filenames other than the underlying operating system?
Process vs Threads
Difference between binary semaphore and mutex.
Is there a child's PID?
Preferred Operating System for web programmers - client or server
How do you keep the machine awake?
Operating system features
Name of the process with highest cpu usage
Ubuntu 32 bit maximum address space
Task Schedulers
"getting" path in linux
How to get started in operating system development
Window managers for Windows and Macs
How do you choose a Linux/Unix/BSD distribution?
What does "VM Size" mean in the Windows Task Manager?
What's the best way to get to know linux or BSD kernel internals?
Mixing 32 bit and 16 bit code with nasm
Why go 64 bit OS?
Which Vista edition is the best for developer machine?
Vista or XP for Dev Machine
The questions, topics and answers come from serverfault.com, stackoverflow.com and superuser.com, and are licensed under the cc-wiki license.
© 2010 Chad Scira / icodeforlove