Lesson plan

LFortran

LFortran is an open-source next-generation interactive Fortran compiler based on LLVM. A unique feature is that it can execute the user’s code interactively to allow exploratory work, in addition to compiling it to binaries to run the code on modern architectures such as multi-core CPUs and GPUs. It can be used via WebAssembly and is available on Compiler Explorer. LFortran is still in the alpha phase. It supports most of Fortran 95 and many features of later standards. It will reach beta when it can reliably compile 10 production-grade, third-party packages used in the scientific community and industry. The current status is 8/10: * Legacy (February, 2023) and modern Minpack (May, 2023) --- LFortran Breakthrough: Now Building Legacy and Modern Minpack * fastGPT (September, 2023) --- LFortran Compiles fastGPT * dftatom (October, 2023) --- LFortran Compiles dftatom * SciPy (60%, January, 2024) --- LFortran Compiles 60% of SciPy * stdlib (85%, April, 2024) --- LFortran Compiles stdlib * SNAP (August, 2024) --- LFortran now compiles SNAP * PRIMA (March, 2025) --- LFortran compiles PRIMA Despite being alpha, LFortran has been on the radar of NASA as a representative of compilers supporting type-safe generic programming in Fortran, and on that of SciPy, which hopes it can help deal with the large amount of Fortran libraries that SciPy relies on.…

Back to article

Article summary

LFortran is an open-source next-generation interactive Fortran compiler based on LLVM. A unique feature is that it can execute the user’s code interactively to allow exploratory work, in addition to compiling it to binaries to run the code on modern architectures such as multi-core CPUs and GPUs. It can be used via WebAssembly and is available on Compiler Explorer. LFortran is still in the alpha phase. It supports most of Fortran 95 and many features of later standards. It will reach beta when it can reliably compile 10 production-grade, third-party packages used in the scientific community and industry. The current status is 8/10: * Legacy (February, 2023) and modern Minpack (May, 2023) --- LFortran Breakthrough: Now Building Legacy and Modern Minpack * fastGPT (September, 2023) --- LFortran Compiles fastGPT * dftatom (October, 2023) --- LFortran Compiles dftatom * SciPy (60%, January, 2024) --- LFortran Compiles 60% of SciPy * stdlib (85%, April, 2024) --- LFortran Compiles stdlib * SNAP (August, 2024) --- LFortran now compiles SNAP * PRIMA (March, 2025) --- LFortran compiles PRIMA Despite being alpha, LFortran has been on the radar of NASA as a representative of compilers supporting type-safe generic programming in Fortran, and on that of SciPy, which hopes it can help deal with the large amount of Fortran libraries that SciPy relies on.…

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.