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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Is Fortran “A Dead Language”? (2022)

126 点作者 rsecora超过 1 年前

30 条评论

pklausler超过 1 年前
Fortran is hardly dead, but neither is it is well.<p>On the plus side, Fortran has more actively developed implementations than any other language. It is critical to some of the most important applications that exist. One can write code in the portable subset of Fortran and extract very high performance from very expensive HPC systems over many generations of processor and systems architecture.<p>On the down side, advancement of the language has become moribund -- the last major standard was in 2008 and the two revisions since then have been minor. The standards committee creates new features from whole cloth without prototyping them, and without fixing the bugs in the spec when bugs are discovered eventually by implementors. There has been no standard public test suite since F&#x27;77, so implementations vary. There are highly portable features that are not standard and there are standard features now that are not portable.<p>I&#x27;m working hard to try to improve this situation on the compiler side.
评论 #38991929 未加载
评论 #38979730 未加载
评论 #38975378 未加载
评论 #38980342 未加载
评论 #38971998 未加载
gumby超过 1 年前
I think the meaningful definition of “dead language” is “nobody will begin a new code base in it any more, except as a hobby or research project”.<p>Pretty likely that’s the case with COBOL, definitely Algol, PL&#x2F;1, Pascal, and Prolog.<p>Though uncommon or domain specific, not the case with APL (well J), Common Lisp, Forth, or Haskell.<p>I think there’s more new code being written in FORTRAN these days than in those last four combined.
评论 #38966898 未加载
评论 #38968244 未加载
评论 #38967121 未加载
评论 #38966411 未加载
评论 #38967218 未加载
评论 #38968141 未加载
评论 #38966392 未加载
评论 #38966507 未加载
评论 #38966425 未加载
评论 #38968988 未加载
评论 #38968792 未加载
评论 #38974707 未加载
评论 #38992268 未加载
评论 #38970389 未加载
评论 #38970851 未加载
评论 #38970205 未加载
评论 #38974987 未加载
pjmlp超过 1 年前
Not only it is doing quite alright, latest versions 2003 onwards (latest is 2023), are quite confortable to use, offering almost a Python like experience, with a performance experience of 60+ years in compiler optmizations.
评论 #38966431 未加载
评论 #38968265 未加载
评论 #38966336 未加载
评论 #38966924 未加载
评论 #38966690 未加载
评论 #38966403 未加载
coliveira超过 1 年前
Fortran is more alive today than it was 10 years ago. If you didn&#x27;t notice, a lot of numpy libraries is Fortran code, and they are improving this all the time. It is more used for scientific and machine learning programming nowadays than it ever was.
评论 #38969180 未加载
stabbles超过 1 年前
I don&#x27;t know what the state of things is right now, but if Fortran is the language of choice for HPC, then explain to me why it&#x27;s so hard to write portable code that targets accelerators.<p>Some folks have attempted to port Fortran projects to CUDA fortran, but that only targets Nvidia GPUs. Then there was openmp 5, but barely any compiler to target AMD gpus.<p>New HPC projects are written in C++ exactly because it&#x27;s much easier to target various GPUs in the same code base.<p>Happy to be convinced otherwise, but this is what I&#x27;ve observed
评论 #38966819 未加载
评论 #38966781 未加载
评论 #38967130 未加载
bartlettD超过 1 年前
Jim&#x27;s article pretty much confirms my assumption that Fortran isnt &quot;dead&quot; but is instead more of a de-facto domain-specific language. If you&#x27;re a meterologist, you&#x27;ll probably be using Fortran just because all of the existing libraries are built for it.<p>Unless you&#x27;re doing scientific computing, Fortran is effectively dead.
评论 #38966409 未加载
Wwhisperer超过 1 年前
Jim&#x27;s observation seems to be generally similar on other HPC clusters in other countries.<p>A lot of scientific software, as I can confirm especially in numerical fluid dynamics, is written in FORTRAN or at least uses some libraries written in FORTRAN.<p>The basis of numerical computing in form of the BLAS&#x2F;LAPACK libraries is written in FORTRAN and has had a huge impact on everything in this part of computing.<p>If I am not mistaken even the python libraries depend on BLAS&#x2F;LAPACK, although they might be using implementations written in C or the like.<p>Nevertheless, FORTRAN is still the work horse in a lot of computational scientific disciplines and should not be disregarded as being dead.
seanhunter超过 1 年前
Fortran will never die because a sufficiently determined real programmer[1] can write fortran code in any language. I have had the misfortune to encounter plenty of fortran code written in perl, C, C++, Java, SQL and even Python.<p>[1] <a href="https:&#x2F;&#x2F;sac.edu&#x2F;AcademicProgs&#x2F;Business&#x2F;ComputerScience&#x2F;Pages&#x2F;Hester_James&#x2F;Real%20Programmer.htm" rel="nofollow">https:&#x2F;&#x2F;sac.edu&#x2F;AcademicProgs&#x2F;Business&#x2F;ComputerScience&#x2F;Pages...</a>
评论 #38974865 未加载
fortran77超过 1 年前
While I love and and still make a big chunk of money from Fortran consulting (mostly translating old Fortran to Python or Matlab) it’s not dead...but there’s little reason to start a new project in today.<p>I hit a wall recently getting SciPy to work on a Windows Arm machine — because of lack of a Fortran compiler needed to build SciPy.
emadb超过 1 年前
The TIOBE Index [1] ranks Fortran at 12th place! Consider that Ruby is at 18th. In my opinion, this says a lot about the value of the index.<p>[1] <a href="https:&#x2F;&#x2F;www.tiobe.com&#x2F;tiobe-index&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.tiobe.com&#x2F;tiobe-index&#x2F;</a>
评论 #38966441 未加载
评论 #38966533 未加载
评论 #38966657 未加载
评论 #38966526 未加载
PeterStuer超过 1 年前
In case like me you wondered about &#x27;VASP&#x27;, it is a reference to the Vienna Ab initio Simulation Package, a computer program for atomic scale materials modelling, e.g. electronic structure calculations and quantum-mechanical molecular dynamics, from first principles.<p><a href="https:&#x2F;&#x2F;www.vasp.at" rel="nofollow">https:&#x2F;&#x2F;www.vasp.at</a>
buescher超过 1 年前
Fortran would have been a great programming language for embedded if the real-time extensions of the seventies had caught on.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Industrial_Real-Time_Fortran" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Industrial_Real-Time_Fortran</a>
评论 #38970718 未加载
redandblack超过 1 年前
For HPC, are there missing language features that Fortan coders need?<p>Helpful to understand any HPC requirements
osigurdson超过 1 年前
I didn&#x27;t read the article, but I&#x27;ll bet $5 that the conclusion is it is not dead.
评论 #38969235 未加载
physicsguy超过 1 年前
&quot;ECMWF’s Integrated Forecast System&quot;<p>I had to get this compiling and running this for a University HPC cluster a few years ago, and good lord, it was hell. Manually patching things all over the place to get it running.
评论 #38968620 未加载
flobosg超过 1 年前
List of projects using Fortran: <a href="https:&#x2F;&#x2F;github.com&#x2F;Beliavsky&#x2F;Fortran-code-on-GitHub">https:&#x2F;&#x2F;github.com&#x2F;Beliavsky&#x2F;Fortran-code-on-GitHub</a>
codexb超过 1 年前
This looks more like a case study of program language use for a specific set of scientists.<p>Can someone explain why Fortran remains popular within the scientific community and not elsewhere?
评论 #38971707 未加载
评论 #38970558 未加载
_s_a_m_超过 1 年前
Who care who thinks what, a tweet, really? As if we have to agree on some pointless statements. In certain areas it is used, in others not. Now what?<p>I really don&#x27;t know what the point of such posts are. It is only relevant for people who want to go into scientific computing, and even there you have some GPU rewrites going on. So not everyone is using it but physicist etc. do. Also the legacy code is huge, like with C++.
ivanpribec超过 1 年前
For fun, I wrote a CHIP8 interpreter in Fortran recently [1].<p>Fortran is still heavily used in computational chemistry, computational fluid dynamics, marine engineering, nuclear engineering, reservoir engineering, and numerous other engineering fields. Volcanologists use it to predict ash dispersal [2]. Biomedical companies use it for cardiac electrophysiology. Econometrists use it to do tax research [4]. Plasma physicists use it to design magnetic confinement fusion devices [5]. Astrophysicists use it for relativistic magnetohydrodynamics [6]. NASA uses it for all kinds of fluid dynamics-related purposes [7] (read jet engines and rockets), and so do they at CERFACS [8]. For all I know, some integrated circuit manufacturers probably use it use it [9]. It&#x27;s also used in ham radio and probably some military agencies [10]. It&#x27;s used in vehicle crash testing [11]. It&#x27;s used in combustion simulation software [12], fire dynamics [13], hydrometallurgy (ore leaching) [14]. US Geological Survey uses it for ground-water flow modelling [15]. We could go on and on.<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38920486">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38920486</a> [2] <a href="https:&#x2F;&#x2F;doi.org&#x2F;10.1016&#x2F;j.cageo.2008.08.008" rel="nofollow">https:&#x2F;&#x2F;doi.org&#x2F;10.1016&#x2F;j.cageo.2008.08.008</a> [3] <a href="https:&#x2F;&#x2F;www.elem.bio&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.elem.bio&#x2F;index.html</a> [4] <a href="https:&#x2F;&#x2F;taxsim.nber.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;taxsim.nber.org&#x2F;</a> [5] <a href="https:&#x2F;&#x2F;doi.org&#x2F;10.1016&#x2F;j.cpc.2021.107986" rel="nofollow">https:&#x2F;&#x2F;doi.org&#x2F;10.1016&#x2F;j.cpc.2021.107986</a> [6] <a href="https:&#x2F;&#x2F;doi.org&#x2F;10.3390&#x2F;fluids9010016" rel="nofollow">https:&#x2F;&#x2F;doi.org&#x2F;10.3390&#x2F;fluids9010016</a> [7] <a href="https:&#x2F;&#x2F;fun3d.larc.nasa.gov&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fun3d.larc.nasa.gov&#x2F;</a> [8] <a href="https:&#x2F;&#x2F;www.cerfacs.fr&#x2F;avbp7x&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cerfacs.fr&#x2F;avbp7x&#x2F;</a> [9] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SPICE" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SPICE</a> [10] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Numerical_Electromagnetics_Code" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Numerical_Electromagnetics_Cod...</a> [11] <a href="https:&#x2F;&#x2F;www.openradioss.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.openradioss.org&#x2F;</a> [12] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;CHEMKIN" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;CHEMKIN</a> [13] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fire_Dynamics_Simulator" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Fire_Dynamics_Simulator</a> [14] <a href="https:&#x2F;&#x2F;youtu.be&#x2F;-dvG270QttE?si=AO-ky0fGwkIEmXDx" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;-dvG270QttE?si=AO-ky0fGwkIEmXDx</a> [15] <a href="https:&#x2F;&#x2F;www.usgs.gov&#x2F;mission-areas&#x2F;water-resources&#x2F;science&#x2F;modflow-and-related-programs" rel="nofollow">https:&#x2F;&#x2F;www.usgs.gov&#x2F;mission-areas&#x2F;water-resources&#x2F;science&#x2F;m...</a>
评论 #38969385 未加载
RagnarD超过 1 年前
Fortran is still a heavily used language in engineering applications, in my experience. I have the sense that quite a few programmers think that only systems geared for web development actually exist. This is a very narrow and false view.
NikkiA超过 1 年前
Programming languages don&#x27;t &#x27;die&#x27;, they merely sleep until someone gets interested in them again.<p>For example, in certain hipster areas of the programming web, there&#x27;s plenty of interest in all of the flavours of Algol.
dvh超过 1 年前
I went to local job website and searched new jobs in last month:<p><pre><code> 365 java 324 javascript 299 python 69 c# 59 c++ 59 php 5 delphi 0 fortran </code></pre> So yes, I would say fortran is dead language
评论 #38966679 未加载
评论 #38967119 未加载
评论 #38969287 未加载
评论 #38969927 未加载
评论 #38966614 未加载
评论 #38972979 未加载
Koshkin超过 1 年前
IMHO Fortran 66 was the best Fortran ever. Simple, efficient, true to its nature. Fortunately, some of the modern compilers (like e.g. Intel&#x27;s) still support it.
osigurdson超过 1 年前
The same is being asked about Python:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38969390">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38969390</a>
google234123超过 1 年前
It’s unfortunate c++ hasn’t added the few features needed to completely replace Fortran.
评论 #38973882 未加载
评论 #38972764 未加载
dudeinjapan超过 1 年前
Wait... you guys don&#x27;t program using punch cards? How are you supposed to do it then?
评论 #38968434 未加载
ReleaseCandidat超过 1 年前
What certainly died during the last years has been some of the last Fortran compiler companies:<p>Absoft: <a href="https:&#x2F;&#x2F;fortran-lang.discourse.group&#x2F;t&#x2F;absoft-ceases-operation-on-sept-30-2022&#x2F;4274" rel="nofollow">https:&#x2F;&#x2F;fortran-lang.discourse.group&#x2F;t&#x2F;absoft-ceases-operati...</a><p>Lahey: <a href="https:&#x2F;&#x2F;fortran-lang.discourse.group&#x2F;t&#x2F;lahey-computer-systems-will-permanently-close-on-december-31-2022&#x2F;4864" rel="nofollow">https:&#x2F;&#x2F;fortran-lang.discourse.group&#x2F;t&#x2F;lahey-computer-system...</a><p>Looking at the licenses that I have had, which are SGI († 2009), Pathscale († 2011), Absoft († 2022) and Intel - Intel is to shut down in 2042.
Eddy_Viscosity2超过 1 年前
See [1]<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Betteridge%27s_law_of_headlines" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Betteridge%27s_law_of_headline...</a>
animeepisode超过 1 年前
Yes, you can say
评论 #38991994 未加载
mrhashem超过 1 年前
YES. (if not, please kill it)