> <i>Flang is a ground-up implementation of a Fortran front end written in modern C++. It started off as the f18 project with an aim to replace the previous flang project and address its various deficiencies. F18 was subsequently accepted into the LLVM project and rechristened as Flang.</i><p>> <i>The high level IR of the Fortran compiler is modeled using MLIR.</i><p>Source: <a href="https://mlir.llvm.org/users/" rel="nofollow">https://mlir.llvm.org/users/</a>
So it’s not dependent on an external Fortran compiler anymore? That’s nice, I need to test it. That said, I could not find a Fortran 2003/2008/2018 features implementation matrix, which could be helpful.
A video from 2020 for anyone interested:
<a href="https://news.ycombinator.com/item?id=22281619" rel="nofollow">https://news.ycombinator.com/item?id=22281619</a>
I remember from my Fortran week in university, that Fortran has strict rules about aliasing that allow the compiler to generate more efficient code C in several cases. And I also have read about aliasing bugs/assumptions being wrong in LLCM and having to be fixed for the rust compiler.<p>Has Rust's usage of LLVM been helpful for Fortran? And maybe vice versa?