TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Flang: LLVM’s Fortran Front End

88 点作者 amirmasoudabdol将近 3 年前

5 条评论

erichocean将近 3 年前
&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>
kergonath将近 3 年前
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.
brutusborn将近 3 年前
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>
maartenh将近 3 年前
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?
nonlincoder将近 3 年前
I think it&#x27;s the first Fortran compiler whose name is cool.
评论 #32537747 未加载
评论 #32538046 未加载