A molecular dynamics computer simulation performance comparison of Java versus C

Mallett, M.J.D. (2001) A molecular dynamics computer simulation performance comparison of Java versus C. Molecular Simulation, 26 (6). pp. 417-422. ISSN 0892-7022. (The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided)

The full text of this publication is not available from this repository. (Contact us about this Publication)
Official URL


The relative performance of molecular dynamics (MD) Computer simulations of fluids written in ANSI C is compared to that achieved by a comparable program written in Java. The performance of the Java program is shown to be dependent upon its runtime environment. The Java Runtime Environment (JRE) from the Java Development Kit (JDK) 1.2 provides a Just-In-Time (JIT) compiler option on Solaris and Windows 95 platforms which decreases the execution time by approximately 4 - 10x compared to the standard Java interpreter. The compiled Java implementation of the MD computer simulation runs between 30 100% slower, depending on the platform. compared to the equivalent C implementation. The stability of the two simulations, as measured by conservation of energy is shown to be identical to within similar to1% over 10(5) time steps.

Item Type: Article
Uncontrolled keywords: Java molecular dynamics; computer simulation FLUID
Subjects: Q Science
Divisions: Faculties > Science Technology and Medical Studies > School of Physical Sciences
Depositing User: Maggie Francis
Date Deposited: 29 Oct 2008 19:33
Last Modified: 14 Jul 2014 10:48
Resource URI: https://kar.kent.ac.uk/id/eprint/11432 (The current URI for this page, for reference purposes)
  • Depositors only (login required):


Downloads per month over past year