func sumrange lim .
   # this is interpreted
   i = 1
   while i <= lim
      sum += i
      i += 1
   .
   return sum
.
start = systime
print sumrange 1e8
print systime - start
# 
fastfunc sumrangef lim .
   # this is compiled to wasm
   i = 1
   while i <= lim
      sum += i
      i += 1
   .
   return sum
.
start = systime
print sumrangef 1e8
print systime - start
