5 ms·
Flang: LLVM’s Fortran Front End
- maartenh 4y agoI 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. Has Rust's usage of LLVM been helpful for Fortran? And maybe vice versa?
- deleted 4y ago[deleted]
- erichocean 4y ago> 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. > The high level IR of the Fortran compiler is modeled using MLIR. Source: https://mlir.llvm.org/users/ https://mlir.llvm.org/users/
- nonlincoder 4y agoI think it's the first Fortran compiler whose name is cool.
- eesmith 4y agoThey liked it so much they used it twice. (Apologies to Gerard Kenny.)
- semi-extrinsic 4y agoWhat, Lahey and Apogee weren't cool?
- kergonath 4y agoSo 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.
- brutusborn 4y agoA video from 2020 for anyone interested: https://news.ycombinator.com/item?id=22281619 https://news.ycombinator.com/item?id=22281619