首页> 外文期刊>Scientific programming >The cost of being obJect-oriented A preliminary study
【24h】

The cost of being obJect-oriented A preliminary study

机译:面向对象的成本初步研究

获取原文
获取原文并翻译 | 示例
       

摘要

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 li- brary Although there are existing implementations of LIN- PACK in Java, most of these are produced by direct trans- lation 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 de- veloped 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 de- tailed performance analysis using several leading Java com- pilers and virtual machines, comparing the performance of the of 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.
机译:自从Java编程语言引入以来,人们对使用Java进行高性能科学计算产生了广泛的兴趣。这种使用的主要障碍是相对于Fortran支付的性能损失。为了支持我们通过编译器技术克服这种损失的研究,我们开发了一个名为Owlpack的基准套件,该套件基于流行的LINPACK库。尽管Java中已有LIN-PACK的实现,但其中大多数是由Java开发的。从Fortran直接翻译。因此,它们不能反映出优秀的面向对象的程序员将在Java中使用的编程风格。我们的目标是研究如何使面向对象的科学编程切实可行。因此,我们开发了Java中的LINPACK的两个面向对象版本,一个真正的多态版本和一个为实现更高性能而设计的``Lite''版本。我们使用这些库使用几个领先的Java编译器和虚拟机执行了详细的性能分析,将面向对象的基准测试版与通过Fortran直接翻译生成的版本的性能进行了比较。尽管Java实现取得了长足的进步,但仍不足以充分利用Java面向对象功能的程序。我们的最终目标是推动对编译器技术的研究,这将奖励而不是惩罚面向对象的良好编程实践。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号