首页    期刊浏览 2024年11月30日 星期六
登录注册

文章基本信息

  • 标题:The Cost of being Object-Oriented: A Preliminary Study
  • 本地全文:下载
  • 作者:Zoran Budimlić ; Ken Kennedy ; Jeff Piper
  • 期刊名称:Scientific Programming
  • 印刷版ISSN:1058-9244
  • 出版年度:1999
  • 卷号:7
  • 期号:2
  • 页码:87-95
  • DOI:10.1155/1999/464598
  • 出版社:Hindawi Publishing Corporation
  • 摘要:

    Since the introduction of the Java programming language, there has been widespread interest in the use Java for the high performance scientific computing. One major impediment to such use is the performance penalty paid relative to Fortran. To support our research on overcoming this penalty through compiler technology, we have developed a benchmark suite, called OwlPack, which is based on the popular LINPACK library. Although there are existing implementations of LINPACK in Java, most of these are produced by direct translation from Fortran. As such they do not reflect the style of programming that a good object‐oriented programmer would use in Java. Our goal is to investigate how to make object‐oriented scientific programming practical. Therefore we developed two object‐oriented versions of LINPACK in Java, a true polymorphic version and a “Lite” version designed for higher performance. We used these libraries to perform a detailed performance analysis using several leading Java compilers and virtual machines, comparing the performance of the object‐oriented versions of the benchmark with a version produced by direct translation from Fortran. Although Java implementations have been made great strides, they still fall short on programs that use the full power of Java’s object‐oriented features. Our ultimate goal is to drive research on compiler technology that will reward, rather than penalize good object‐oriented programming practice.

国家哲学社会科学文献中心版权所有