title: Julia pi approximation slow
body: <p>I have pi approximation code very similar to that on official page:</p>
  
  <pre><code>function piaprox()
      sum = 1.0
      for i = 2:m-1
          sum = sum + (1.0/(i*i))
      end
  end
  
  m = parse(Int,ARGS[1])
  opak = parse(Int,ARGS[2])
  
  @time for i = 0:opak
      piaprox()
  end
  </code></pre>
  
  <p>When I try to compare time of C and Julia, then Julia is significantly slower, almost 38 sec for m = 100000000 (time of C is 0.1608328933 sec). Why this is happening?</p>