Billion

Counting up to a billion in Python takes (on my computer): 1 minute 10 seconds.

With Ruby it takes: 11.6 seconds.

n = 0
while n < 1000000000:
  n += 1

print n

time python file.py

n = 0
while n < 1000000000
  n += 1
end

print n

time ruby file.rb

fn main() {
  mut n := 0
  for n < 1000000000 {
    n += 1
  }
  println('done ')
}

time ./file

(well.. v did it in: 1.16 secs)

(c did it in 1.39 secs)