首页    期刊浏览 2024年12月03日 星期二
登录注册

文章基本信息

  • 标题:NINJA: Java for High Performance Numerical Computing
  • 本地全文:下载
  • 作者:José E. Moreira ; Samuel P. Midkiff ; Manish Gupta
  • 期刊名称:Scientific Programming
  • 印刷版ISSN:1058-9244
  • 出版年度:2002
  • 卷号:10
  • 期号:1
  • 页码:19-33
  • DOI:10.1155/2002/314103
  • 出版社:Hindawi Publishing Corporation
  • 摘要:

    When Java was first introduced, there was a perception that its many benefits came at a significant performance cost. In the particularly performance-sensitive field of numerical computing, initial measurements indicated a hundred-fold performance disadvantage between Java and more established languages such as Fortran and C. Although much progress has been made, and Java now can be competitive with C/C++ in many important situations, significant performance challenges remain. Existing Java virtual machines are not yet capable of performing the advanced loop transformations and automatic parallelization that are now common in state-of-the-art Fortran compilers. Java also has difficulties in implementing complex arithmetic efficiently. These performance deficiencies can be attacked with a combination of class libraries ( packages , in Java) that implement truly multidimensional arrays and complex numbers, and new compiler techniques that exploit the properties of these class libraries to enable other, more conventional, optimizations. Two compiler techniques, versioning and semantic expansion , can be leveraged to allow fully automatic optimization and parallelization of Java code. Our measurements with the NINJA prototype Java environment show that Java can be competitive in performance with highly optimized and tuned Fortran code.

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