News for hackers. Stuff that matters.
Re:Resurrecting Fortran by certik on Saturday March 13, 2021 @02:32PM (#26449239)
LFortran is not ready yet for production usage, but I've been developing it on M1 Macs, everything works (both compiling of LFortran itself, as well as LFortran compiling other codes and interactive usage in Jupyter). It compiles really fast and I really enjoy the experience of M1.
Re:Resurrecting Fortran by precsim on Saturday March 13, 2021 @02:54PM (#26449416)
Very interested in LFortran, are there any benchmarks how it compares with respect to performance to GFortran or Intel Fortran?
Re:Resurrecting Fortran by certik on Saturday March 13, 2021 @04:22PM (#26450124)
There is speed of compilation (I did some very preliminary benchmarks and I think it will be very good) and there is speed of the generated code, there currently we just use stock LLVM. But down the road we will have special optimizations on top, just like Intel Fortran is doing. Some of the things I personally would like to have a close look on is array operations, where I've heard from many users that they are slower than explicit loops. And function inlining and other such operations.

We want to have a dedicated repository for benchmarking compilers:

https://github.com/fortran-lang/benchmarks/issues/2