|
|
|
|
|
by neutronicus
5840 days ago
|
|
As someone who recently began to write Fortran for a living, no. The minute you get away from FORmula TRANslation and move into simulation logic the weaknesses of the language become hugely apparent. The complacent "What do you know! Fortran actually is perfect! HIGH-FIVE" mentality in HPC is a little bit frustrating as someone new to the field. |
|
I always figured people stuck with Fortran because they literally hadn't used anything else other than maybe bash scripting or MATLAB since they switched from CDC 6600 assembly. I find it surprising that people researching languages would reach this conclusion. Okay, Fortran is a first-class citizen in MPI and OpenMP land, but still.
Another thing that struck me was that considering the only substantial contemporary use of Fortran is in HPC, the compilers do a terrible job of optimisation. Function inlining, even of trivial built-ins like the dot product, doesn't seem to work reliably. (this was with Intel and/or Portland IIRC)