
This article discusses a small-scale benchmark test run on nine modern computer languages or variants:
Java 1.3.1,
Java 1.4.2, C compiled with
gcc 3.3.1,
Python 2.3.2, Python compiled with
Psyco 1.1.1, and the four languages supported by Microsoft's
Visual Studio .NET 2003 development environment:
Visual Basic,
Visual C#,
Visual C++, and
Visual J#. The benchmark tests arithmetic and trigonometric functions using a variety of data types, and also tests simple file I/O. All tests took place on a Pentium 4-based computer running Windows XP.
Update: Delphi version of the benchmark
here.
Someone said that python guys would've used C libraries or they would've written their own c routines, if that is true, maybe in Java I would used JNI or in VB I would called a C DLL or I would even used assembler methods in C (not sure if any of those methods are faster, just making my point).
This guy just showed results from code that many people who are not experts in a specific programming language would've code. And one must recognize that kind of code is awfuly common, So I think this benchmark is valid, in certain environments and cases. It is up to reader to be clever enough to understand that.