28 Dec 2007
17928
hits

Programming Languages Benchmark

Have you seen the Debian's Computer Language Benchmarks Game? It is a nice site that aims to compare different programming languages (implementations). Currently it compares more than 30 compilers and interpreters, including C, C++, Python, Java, PHP, Ruby, Lua, Haskell, Perl or Tcl.

I expected something similar of what the default benchmark shows. It runs all the test programs in all the languages in order to generate a general language overview: C++ is the champion, C is in the second position, Java 6: 10th, FreeBasic: 13th, Ada95 GNAT: 14th, C# Mono: 18th, followed by JavaScript SpiderMonkey in the 31st position.

Try to compare a couple of languages, it's kind of interesting. :-)

Comments

MH on Fri Dec 28 17:28:18 2007
405


The actual performance ratios are much more meaningful than rankings. It's interesting that one or two bad benchmarks for a language can swing the balance quite a lot. Note also that the "default" benchmark gives nil weighting to memory use, and selectively disables some of the tests. In other words, the ranking is subjective, based on your weightings.
ph on Fri Dec 28 17:44:35 2007
406


performance? there are much more important things - reliability, portability, scalability, programmers time required to implement and debug something. the last costs a lot, and hardware is very cheap today. and it is common to use binary libraries for resource-hungry tasks in interpreted languages.
Isaac Gouy on Sun Dec 30 15:46:02 2007
410


mh wrote: "... the ranking is subjective, based on your weightings" And you might even be able to make something like Python #1 if you play with the weightings :-) That's why it says "For Fun: Create your own Ranking!"
MH on Mon Dec 31 18:46:02 2007
418


Isaac: I know that. I was simply pointing out the subjectivity of the rankings he was quoting as if they meant something significant.
Isaac Gouy on Thu Jan 10 17:48:36 2008
423


mh wrote: "... as if they meant something significant." Our loves hates joys ... are subjective - are they insignificant?

Leave a comment

Name:

Comment:


Loading PhotoLog..


Search

 

Twitter


Facebook

Alvaro Lopez Ortega's Profile
Alvaro Lopez Ortega's Facebook Profile