首页    期刊浏览 2024年09月15日 星期日
登录注册

文章基本信息

  • 标题:Automatic Fortran to C++ conversion with FABLE
  • 本地全文:下载
  • 作者:Ralf W Grosse-Kunstleve ; Thomas C Terwilliger ; Nicholas K Sauter
  • 期刊名称:Source Code for Biology and Medicine
  • 印刷版ISSN:1751-0473
  • 电子版ISSN:1751-0473
  • 出版年度:2012
  • 卷号:7
  • 期号:1
  • 页码:5
  • DOI:10.1186/1751-0473-7-5
  • 语种:English
  • 出版社:BioMed Central
  • 摘要:In scientific computing, Fortran was the dominant implementation language throughout most of the second part of the 20th century. The many tools accumulated during this time have been difficult to integrate with modern software, which is now dominated by object-oriented languages. Driven by the requirements of a large-scale scientific software project, we have developed a Fortran to C++ source-to-source conversion tool named FABLE. This enables the continued development of new methods even while switching languages. We report the application of FABLE in three major projects and present detailed comparisons of Fortran and C++ runtime performances. Our experience suggests that most Fortran 77 codes can be converted with an effort that is minor (measured in days) compared to the original development time (often measured in years). With FABLE it is possible to reuse and evolve legacy work in modern object-oriented environments, in a portable and maintainable way. FABLE is available under a nonrestrictive open source license. In FABLE the analysis of the Fortran sources is separated from the generation of the C++ sources. Therefore parts of FABLE could be reused for other target languages.
  • 关键词:Fortran ; C++ ; Source-to-source conversion ; Python ; Test-driven development
国家哲学社会科学文献中心版权所有