4 ms·
Yes, people still write fortran in 2020. It's not just for legacy products (as, I think, Cobol is). Fortran is a very expressive and efficient language for high
by bluenose69 6y ago
Yes, people still write fortran in 2020. It's not just for legacy products (as, I think, Cobol is). Fortran is a very expressive and efficient language for high-performance computation. When you start a calculation that may take weeks to complete, you want to use a tool that you can trust.
Fortran is a great language for legacy products, with code written 50 years ago still working fine. But it has also gained new features over the years, keeping it ahead of competitors in terms of its ability to harvest all a machine can deliver.
This is all for technical work like numerical modelling. Scientists are a very practical lot, switching from Fortran to C (usually C++) when that makes sense, then to python, R, etc when that makes sense, and so forth.
The original article was about scientists switching to rust. I don't know anyone who has done that. I do know many who are exploring Julia, though.
Bear in mind that scientists tend to be quite good at technical work. Learning a new language is not a significant problem for them. But scientific programming is about much, much more than programming. The essence of scientific programming is in the underlying mathematics and science, and Fortran just happens to be pretty good at those things.