by rsecora on 1/12/24, 9:59 AM with 231 comments
by pklausler on 1/12/24, 4:27 PM
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.
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'77, so implementations vary. There are highly portable features that are not standard and there are standard features now that are not portable.
I'm working hard to try to improve this situation on the compiler side.
by gumby on 1/12/24, 10:29 AM
Pretty likely that’s the case with COBOL, definitely Algol, PL/1, Pascal, and Prolog.
Though uncommon or domain specific, not the case with APL (well J), Common Lisp, Forth, or Haskell.
I think there’s more new code being written in FORTRAN these days than in those last four combined.
by pjmlp on 1/12/24, 10:21 AM
by coliveira on 1/12/24, 3:24 PM
by stabbles on 1/12/24, 11:04 AM
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.
New HPC projects are written in C++ exactly because it's much easier to target various GPUs in the same code base.
Happy to be convinced otherwise, but this is what I've observed
by bartlettD on 1/12/24, 10:33 AM
Unless you're doing scientific computing, Fortran is effectively dead.
by Wwhisperer on 1/12/24, 10:51 AM
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.
The basis of numerical computing in form of the BLAS/LAPACK libraries is written in FORTRAN and has had a huge impact on everything in this part of computing.
If I am not mistaken even the python libraries depend on BLAS/LAPACK, although they might be using implementations written in C or the like.
Nevertheless, FORTRAN is still the work horse in a lot of computational scientific disciplines and should not be disregarded as being dead.
by seanhunter on 1/12/24, 9:59 PM
[1] https://sac.edu/AcademicProgs/Business/ComputerScience/Pages...
by fortran77 on 1/12/24, 2:46 PM
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.
by emadb on 1/12/24, 10:33 AM
by PeterStuer on 1/12/24, 4:36 PM
by buescher on 1/12/24, 4:29 PM
by redandblack on 1/12/24, 4:33 PM
Helpful to understand any HPC requirements
by osigurdson on 1/12/24, 3:09 PM
by physicsguy on 1/12/24, 10:51 AM
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.
by flobosg on 1/12/24, 6:23 PM
by codexb on 1/12/24, 4:47 PM
Can someone explain why Fortran remains popular within the scientific community and not elsewhere?
by _s_a_m_ on 1/12/24, 11:02 AM
I really don'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++.
by ivanpribec on 1/12/24, 11:19 AM
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's also used in ham radio and probably some military agencies [10]. It's used in vehicle crash testing [11]. It'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.
[1] https://news.ycombinator.com/item?id=38920486 [2] https://doi.org/10.1016/j.cageo.2008.08.008 [3] https://www.elem.bio/index.html [4] https://taxsim.nber.org/ [5] https://doi.org/10.1016/j.cpc.2021.107986 [6] https://doi.org/10.3390/fluids9010016 [7] https://fun3d.larc.nasa.gov/ [8] https://www.cerfacs.fr/avbp7x/ [9] https://en.wikipedia.org/wiki/SPICE [10] https://en.wikipedia.org/wiki/Numerical_Electromagnetics_Cod... [11] https://www.openradioss.org/ [12] https://en.wikipedia.org/wiki/CHEMKIN [13] https://en.wikipedia.org/wiki/Fire_Dynamics_Simulator [14] https://youtu.be/-dvG270QttE?si=AO-ky0fGwkIEmXDx [15] https://www.usgs.gov/mission-areas/water-resources/science/m...
by RagnarD on 1/13/24, 8:28 AM
by NikkiA on 1/13/24, 10:08 PM
For example, in certain hipster areas of the programming web, there's plenty of interest in all of the flavours of Algol.
by dvh on 1/12/24, 11:00 AM
365 java
324 javascript
299 python
69 c#
59 c++
59 php
5 delphi
0 fortran
So yes, I would say fortran is dead languageby Koshkin on 1/12/24, 9:56 PM
by osigurdson on 1/12/24, 3:47 PM
by google234123 on 1/12/24, 7:21 PM
by dudeinjapan on 1/12/24, 11:46 AM
by ReleaseCandidat on 1/12/24, 6:31 PM
Absoft: https://fortran-lang.discourse.group/t/absoft-ceases-operati...
Lahey: https://fortran-lang.discourse.group/t/lahey-computer-system...
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.
by Eddy_Viscosity2 on 1/12/24, 3:20 PM
by animeepisode on 1/14/24, 4:42 PM
by mrhashem on 1/12/24, 4:01 PM