|
|
|
|
|
by pmjordan
5840 days ago
|
|
I had the questionable pleasure of using Fortran90/95 at university, for HPC of course. Ignoring its history I would have said it was a reasonable stab at an array manipulation DSL, but I think it's terrible for structuring of any kind. I haven't read the full article, but it seems to throw around numbers in the 1000 LOC order of magnitude, which is the size of undergraduate homework projects these days, not serious simulations. As soon as you go beyond a simple grid of scalar values, you desperately yearn for something better. 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) |
|