TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Flang: LLVM’s Fortran Front End

88 pointsby amirmasoudabdolalmost 3 years ago

5 comments

erichoceanalmost 3 years ago
&gt; <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>&gt; <i>The high level IR of the Fortran compiler is modeled using MLIR.</i><p>Source: <a href="https:&#x2F;&#x2F;mlir.llvm.org&#x2F;users&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mlir.llvm.org&#x2F;users&#x2F;</a>
kergonathover 2 years ago
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&#x2F;2008&#x2F;2018 features implementation matrix, which could be helpful.
brutusbornover 2 years ago
A video from 2020 for anyone interested: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22281619" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22281619</a>
maartenhover 2 years ago
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&#x2F;assumptions being wrong in LLCM and having to be fixed for the rust compiler.<p>Has Rust&#x27;s usage of LLVM been helpful for Fortran? And maybe vice versa?
nonlincoderover 2 years ago
I think it&#x27;s the first Fortran compiler whose name is cool.
评论 #32537747 未加载
评论 #32538046 未加载