• DocumentCode
    1454081
  • Title

    A comparison of Java, C/C++, and FORTRAN for numerical computing

  • Author

    Moreira, J.E. ; Midkiff, S.P. ; Gupta, M.

  • Author_Institution
    IBM Thomas J. Watson Res. Center, Yorktown Heights, NY, USA
  • Volume
    40
  • Issue
    5
  • fYear
    1998
  • fDate
    10/1/1998 12:00:00 AM
  • Firstpage
    102
  • Lastpage
    105
  • Abstract
    This paper compares the use of three programming languages, FORTRAN, C/C++, and Java, in a simple numerical computation of the product of two matrices. The goal is to show that, although similar in expressiveness, the performance of the three languages can be vastly different with current implementations. We analyze the causes of these differences, and we discuss how state-of-the-art compilation can be used to deliver excellent performance for all three languages
  • Keywords
    C language; C++ language; FORTRAN; Java; matrix multiplication; numerical analysis; program compilers; C/C++; FORTRAN; Java; compilation; matrix products; numerical computation; numerical computing; programming languages; Cache storage; Computer languages; Educational institutions; Internet; Java; Programming profession; Radio access networks; Runtime; Testing; Workstations;
  • fLanguage
    English
  • Journal_Title
    Antennas and Propagation Magazine, IEEE
  • Publisher
    ieee
  • ISSN
    1045-9243
  • Type

    jour

  • DOI
    10.1109/74.736311
  • Filename
    736311