LFortran
| LFortran | |
|---|---|
| Developers | The LFortran team, led by Ondřej Čertík |
| Initial release | October 9, 2018 |
| Stable release | 0.49.0 (alpha)
/ March 15, 2025 |
| Written in | C++ |
| Operating system | Cross-platform |
| Type | Compiler |
| License | BSD License |
| Website | www |
| Repository | |
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[1] and is available on Compiler Explorer.[2]
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,[3] and on that of SciPy, which hopes it can help deal with the large amount of Fortran libraries that SciPy relies on.[4]
The LFortran project works closely with the US Fortran Standards Committee (J3).[5] It is a NumFOCUS Sponsored Project since 2020.[6] LFortran is a member of the Lcompilers family, and its siblings include LPython and LC.
See also
References
- ^ "LFortran in web browsers using WebAssembly". Retrieved 2025-03-07.
- ^ "LFortran in Compiler Explorer". The Compiler Explorer Project. Retrieved 2025-03-07.
- ^ "Type-safe Generic Programming in Fortran" (PDF). NASA. 2024. Retrieved 2025-03-07.
- ^ "The 'eu' in eucatastrophe – Why SciPy builds for Python 3.12 on Windows are a minor miracle". The SciPy Project. 2023-11-08. Retrieved 2025-03-07.
- ^ "J3 Discussions about LFortran". US Fortran Standards Committee. Retrieved 2025-03-07.
- ^ "LFortran on NumFOCUS". NumFOCUS. 2020. Retrieved 2025-03-07.
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.