Migrating Legacy Fortran to Python While Retaining Fortran-Level Performance through Transpilation and Type Hints

@article{Bysiek2016MigratingLF,
  title={Migrating Legacy Fortran to Python While Retaining Fortran-Level Performance through Transpilation and Type Hints},
  author={Mateusz Bysiek and Aleksandr Drozd and Satoshi Matsuoka},
  journal={2016 6th Workshop on Python for High-Performance and Scientific Computing (PyHPC)},
  year={2016},
  pages={9-18}
}
We propose a method of accelerating Python code by just-in-time compilation leveraging type hints mechanism introduced in Python 3.5. In our approach performance-critical kernels are expected to be written as if Python was a strictly typed language, however without the need to extend Python syntax. This approach can be applied to any Python application, however we focus on a special case when legacy Fortran applications are automatically translated into Python for easier maintenance. We… CONTINUE READING

References

Publications referenced by this paper.
Showing 1-10 of 13 references

Dec.) Pep 483 – the theory of type hints

  • G. van Rossum, I. Levkivskyi
  • 2014
1 Excerpt

Semi-automatic porting of a large-scale fortran cfd code to gpus

  • A. Corrigan, F. Camelli, R. Löhner, F. Mut
  • International Journal for Numerical Methods in…
  • 2012
2 Excerpts

A guide to NumPy

  • T. E. Oliphant
  • Trelgol Publishing USA,
  • 2006
2 Excerpts