7 comments

[ 3.2 ms ] story [ 22.8 ms ] thread
Three smart guys made go. Google only has one or two left.
That Go pi-digits program is 50% faster than a Java program that also uses the GMP library, just like the Go program!

That Go pi-digits program is only 4% faster than a PHP program that uses the GMP library.

It's not enough to "point out that most languages have C FFIs" when for this arbitrary precision arithmetic task GMP is allowed and others step-up and contribute those programs.

I see. I had only looked at the source code of the Nodejs competitor. To be fair the point still stands that you need to read the source to know what is really being measured.
No, there's no reason to take the benchmarks game with even a pinch of salt!

The benchmarks game website shows what it says it shows --

"Which programs are faster? Will your toy benchmark program be faster if you write it in a different programming language? It depends how you write it!"

(No, there's no reason to add even a pinch of salt to the benchmarks game website).