Linked by Christopher W. Cowell-Shah on Thu 8th Jan 2004 19:33 UTC
General Development 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.
Permalink for comment
To read all comments associated with this story, please click here.
RE: Lots of other bottlenecks
by Shea on Sat 10th Jan 2004 22:14 UTC

>> the latest Hotspot does an excellent job getting rid of
>> array bounds checking in many instances

How do you know that Hotspot does an excellent job of eliminating ABC's? Sun does not tell us the means by which it determines whether ABC's can be eliminated, nor do they provide a mechanism telling us where ABC's have successfully been eliminated (which would allow us to do some reverse engineering and figure out in what scenarios ABC's can be eliminated)... this leads to a question:

Can code be written in a way which would make the compiler better able to eliminate ABC's? I'm not quite sure what this would entail, but I'm curious as to whether or not it can be done.