Ever wanted to compare different programmign languages and test which one is more effecient? Either in terms of speed of execution, size of the binary files created or the size occupied by the program in the memory?  Then the Computer Language Benchmarks Game is for you. This game lets you compare different programming languages. You ask how? The details can be found on their website:

http://shootout.alioth.debian.org/gp4

But for starters, it compares the implementation of defferent programming languages to solve a specific set of tasks. And how is the implementation tested?By profiling a code written for solving that particular task. The code used to have the comparison is open to all for review, so anyone can optimise it.

This provides a rough comparison estimate between languages of similar types(need not always be similar), like if a particular implementation is better in C or C++

So go and check it out yourself, here is an comparison between C and C++

http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=gcc&lang2=gp

Advertisements