Count the number of primes - Programming Languages Benchmark
FortranGPL-3.0
count-primes
These benchmarks compare performance characteristics of different programming languages.
In each language I implemented exactly the same algorithm that counts the number of primes between 0 and 20000000.