LFortran Compiles dftatom
Posted on October 31, 2023
| 8 minutes
| 1554 words
| Ondřej Čertík, Brian Beckman, Gagandeep Singh, Thirumalai Shaktivel, Ubaid Shaikh, Pranav Goswami, Luthfan Lubis, Harshita Kalani, Sarthak Gupta, Anutosh Bhat, Smit Lunagariya, Dylon Edwards, Virendra Kabra, Khushi Agrawal, Rohit Goswami
After compiling fastGPT in September 2023, today we are happy to announce that LFortran can compile and run dftatom without any modifications, and dftatom’s continuous integration (CI) now tests every commit with LFortran, along side GFortran.
This is the fourth full third-party production-grade code that LFortran can compile. The progress bar towards beta has thus reached 4/10.
It can compile the main application in Debug mode twice faster than GFortran. In Release mode the runtime performance is within a factor of 2x slower than GFortran’s Release mode (all optimizations on).
[Read More]
LFortran Compiles fastGPT
Posted on September 6, 2023
| 5 minutes
| 911 words
| Ondřej Čertík, Brian Beckman, Pranav Goswami, Ubaid Shaikh, Gagandeep Singh, Smit Lunagariya, Thirumalai Shaktivel, Harshita Kalani, Sarthak Gupta, Luthfan Lubis, Anutosh Bhat, Virendra Kabra, Dylon Edwards
In our last blog post from May 2023, we announced that LFortran can compile legacy and modern Minpack. Today, we are happy to announce that LFortran can compile and run fastGPT.
This is the third code that LFortran can compile. The progress bar toward beta has progressed to 3/10.
LFortran is still alpha, meaning that users expect frequent bugs and breaking
changes. Alpha users are enthusiastic partners in the effort to reach beta and
they dilligently report issues. In beta, users will expect
LFortran to compile their codes, but users will still be partners in reporting
remaining issues.
[Read More]
LFortran Breakthrough: Now Building Legacy and Modern Minpack
Posted on May 2, 2023
| 8 minutes
| 1570 words
| Ondřej Čertík, Brian Beckman, Gagandeep Singh, Thirumalai Shaktivel, Rohit Goswami, Smit Lunagariya, Ubaid Shaikh, Pranav Goswami
Two days ago on April 30, 2023 was the 4th anniversary of LFortran’s
initial release. Our initial prototype in 2019 was in Python. Since then we
have rewritten to C++ for speed and robustness. In 2021 we announced an MVP.
In this update, we are happy to announce that LFortran can compile and run both
legacy and modern Minpack. We’ll start off by taking a look at the current
compilation status and benchmarks of minpack. From there, we’ll provide an
overview of where LFortran is currently at and share our next steps going
forward.
[Read More]
Why to Use Fortran For New Projects
Posted on May 7, 2019
| 3 minutes
| 448 words
| John Pask, Ondřej Čertík
We received a lot of positive feedback on our LFortran announcement. Most
generally like the idea and tool, and expressed interest to hear a bit more on
why we think Fortran is a superior language in its domain and why it makes
sense to use Fortran for new projects.
Why Fortran?
Fortran was designed from the ground up to naturally and simply translate
mathematics to code that compiles and runs at maximum speed. And being
specifically targeted for such fundamentally computational tasks, it contains a
broad range of key functionality within the language itself, standard across
all platforms, with no need for external libraries that may or may not be well
optimized or maintained, at present or down the road.
[Read More]
Why We Created LFortran
Posted on April 30, 2019
| 6 minutes
| 1272 words
| Ondřej Čertík, Peter Brady, Pieter Swart
We recently open sourced LFortran, an interactive Fortran compiler built on
top of LLVM that we have been developing for the last 1.5 years. It is a work
in progress and at the link you can find what works already, what is planned
and a roadmap.
Here is our motivation.
Why are almost no new scientific or engineering software projects started in Fortran?
Usually (in our neck of the woods) C++ is chosen instead. The following are the
most cited reasons for such a choice:
[Read More]