SHARE
Facebook X Pinterest WhatsApp

OSNews: Nine Language Performance Round-up: Benchmarking Math & File I/O

Written By
thumbnail
Web Webster
Web Webster
Jan 12, 2004

“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.

“Five questions motivated me to design and run these benchmarks.
First, I was curious about how the performance of Java 1.4.2 (the
latest official version from Sun) compares to that of Microsoft’s
relatively new .NET 2003 suite of languages. Both Java and the .NET
languages are ‘semi-compiled’ (or, looking at the flip side of the
coin, ‘semi-interpreted’). By this I mean that source code is
compiled into intermediate-level code and then run by a combination
interpreter/just-in-time compiler. With Java, the intermediate
language is called bytecode and the interpreter/compiler is called
a Java Virtual Machine (JVM). Source code in the .NET world is
compiled into the Microsoft Intermediate Language (MSIL) and is run
on the .NET Common Language Runtime (CLR) engine…”

Complete
Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

5 Best Free and Open Source Text Expander Tools
webmaster
Jun 13, 2025
Grafito: Systemd Journal Log Viewer with a Beautiful Web UI
Bobby Borisov
Jun 12, 2025
FreeBSD Wants to Know a Few Things
brideoflinux
May 11, 2025
NVK enabled for Maxwell, Pascal, and Volta GPUs
Kara Bembridge
May 1, 2025
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.