▲ | almostgotcaught 3 days ago | ||||||||||||||||||||||
What is the point of this? Fortran is both faster than cpp and easier to write than cpp. It's also by no means a dead or dying or whatever language. Smells like literally "your scientists were so busy they forgot to ask why". | |||||||||||||||||||||||
▲ | jandrewrogers 3 days ago | parent | next [-] | ||||||||||||||||||||||
Seems pretty obvious to me, and I’ve written my fair share of both Fortran and C++. I think it is mostly that very few people know Fortran anymore and even fewer people want to maintain it. A vast number of people in 2025 will happily work in C++ and are skilled at it. Fortran also hasn’t been faster than C++ for a very long time. This was demonstrable even back when I worked in HPC, and Fortran can be quite a bit worse for some useful types of performance engineering. The only reason we continued to use it was that a lot of legacy numerics code was written in it. Almost all new code was written in C++ because it was easier to maintain. I actually worked in Fortran before I worked in HPC, it was already dying in HPC by the time I got there. Nothing has changed in the interim. If anything, C++ is a much stronger language today than it was back then. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | jabl 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Some people at LANL seem to be on a holy crusade to replace Fortran with C++. They occasionally produce stuff like papers saying Fortran is dying and whatever. Perhaps it makes sense for their in-house applications and libraries, but one shouldn't read too much into it outside their own bubble. | |||||||||||||||||||||||
▲ | jeffbee 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
I wonder if they feel that the toolchains are just rotting. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | mkoubaa 3 days ago | parent | prev [-] | ||||||||||||||||||||||
This. If someone can't correctly articulate the advantages of Fortran they shouldn't be migrating away from it. This is not to say that migrations should never happen. | |||||||||||||||||||||||
|