News for hackers. Stuff that matters.
Re:Show HN: Pi Approximation using Monte Carlo by krat0sprakhar on Sunday August 10, 2014 @03:01AM (#8159082)
I tried the OCaml version which was much much faster than JS. Had to run around 100,000+ simulations to get 3.14xxx consistently. This is a really simple algorithm so I'd suggest giving it a shot in a your favorite language to see how fast it converges.
Re:Show HN: Pi Approximation using Monte Carlo by brotchie on Sunday August 10, 2014 @03:44AM (#8159141)
It would be interesting to see how quickly a quasi-random, low-discrepancy sequence converges to PI (e.g. a Sobol Sequence).