Which programming language is fastest?
shootout.alioth.debian.org
shootout.alioth.debian.org
Benchmarks are worthless unless they accurately model your application and workload. Is C 42 times faster than Python for doing numerical calculations? No. If you are using NumPy, the difference is more like 10%. (I pulled the 10% figure out of my nether orifice, but I believe it to be in the ballpark.) Yes, I know that NumPy is buckets of C with a tasty Python frosting.
There's a page for that! http://shootout.alioth.debian.org/flawed-benchmarks.php#app
> If you are using NumPy...
http://shootout.alioth.debian.org/u32/program.php?test=spect...
1. People are more or less productive in different languages.
2. If a task can be done mostly in a library the speed of the programming language is less important.
3. The performance difference between languages depends on the workload.
Look at a single data set - http://shootout.alioth.debian.org/u32/which-programming-lang...
Better, look at a direct comparison - http://shootout.alioth.debian.org/u32/compare.php?lang=racke...
This study is useless (even if meaningful) with this much variation, and no clear explanation for why so.
Which cases?
(Reminds me of the 1990s when Intel built a special machine (which you could theoretically buy, to fulfill the demands) and wrote a special compiler for SPECs... :-)
See footnote: Which programming language is fastest? No. Which programming language implementation has the fastest benchmark programs?
The simple explanation is that you don't remember very well what you saw when you looked previously.