arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1407.2190cs.PLcs.SE
收藏

Fortran是否仍然适用?Fortran与Java和C++的比较

Is Fortran Still Relevant? Comparing Fortran with Java and C++

Shahid Alam

摘要:

本文提出了一个比较研究,以评估和比较Fortran与两个最流行的程序设计语言Java和C++。Fortran在2003年和2008年经历了主要和次要的扩展。(1)这些扩展在多大程度上使Fortran可以与Java和C++相媲美?(2)在支持模板、对象构造函数和析构函数、抽象数据类型和动态绑定等特性方面,它们有什么不同和相似之处?这些是我们在本研究中试图回答的主要问题。一个面向对象的光线追踪应用程序实现这三种语言进行比较。通过只使用一个程序,我们确保只有一组要求,从而使比较均匀。根据我们的文献调查,这是第一次进行研究,比较这些语言的应用软件度量的光线追踪应用程序,并比较这些结果与在实践中发现的相似性和差异。我们激励语言实现者和编译器开发人员,通过提供二进制分析和分析的应用程序,以提高Fortran对象的处理和处理,从而使其更加多产和通用。这项研究促进和鼓励读者进一步探索,研究和更有效地使用这些语言,特别是Fortran。

英文摘要:

This paper presents a comparative study to evaluate and compare Fortran with the two most popular programming languages Java and C++. Fortran has gone through major and minor extensions in the years 2003 and 2008. (1) How much have these extensions made Fortran comparable to Java and C++? (2) What are the differences and similarities, in supporting features like: Templates, object constructors and destructors, abstract data types and dynamic binding? These are the main questions we are trying to answer in this study. An object-oriented ray tracing application is implemented in these three languages to compare them. By using only one program we ensured there was only one set of requirements thus making the comparison homogeneous. Based on our literature survey this is the first study carried out to compare these languages by applying software metrics to the ray tracing application and comparing these results with the similarities and differences found in practice. We motivate the language implementers and compiler developers, by providing binary analysis and profiling of the application, to improve Fortran object handling and processing, and hence making it more prolific and general. This study facilitates and encourages the reader to further explore, study and use these languages more effectively and productively, especially Fortran.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑