View Single Post
  #4   (View Single Post)  
Old 22nd January 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default

Quote:
Originally Posted by ephemera View Post
Ok, here's a small project you can try:

See if you can create a program to enumerate/print all the prime numbers upto 2^32 (~4 billion) as fast as possible.

Sounds too simple? ... try it for yourself and give it your best shot.

After you have written a program compare its performance with other peoples program on the www: http://primes.utm.edu/links/programs...C_source_code/
http://wwwhomes.uni-bielefeld.de/achim/prime_sieve.html
That'll be more of a long term task I feel - intially I want to read/dissect other code.
Reply With Quote