The skinny on java performance

I always knew from simple observation that java apps were slower than native binaries. But I never saw anything written which admitted it. I haven’t looked in a long time till now. Here it is;

From the motherland of Java;

As a platform-independent environment, the Java platform can be a bit slower than native code.

http://download.oracle.com/javase/tutorial/getStarted/intro/definition.html

And here’s a rundown of more languages than I wanted to know;

1) C GNU gcc
2) C++ GNU g++
3) Ada 2005 GNAT
4) ATS
5) Java 6 -server
6) Scala
7) Haskell GHC
8) C# Mono
9) Go
10) F# Mono
11) Pascal Free Pascal
12) OCaml
13) Lisp SBCL
14) Fortran Intel
15) Clojure
16) Erlang HiPE
17) Python 3
18) PHP 2.16
19) Ruby JRuby
20) Ruby
21) Perl

http://shootout.alioth.debian.org/u32q/which-programming-languages-are-fastest.php?calc=chart&gcc=on&gpp=on&java=on&ghc=on&csharp=on&sbcl=on&hipe=on&python3=on&php=on&yarv=on&perl=on

So there it is. C is the fastest and almost twice as fast as Java. I can now rest in peace.