Re:Fortran 2023
by kryptiskt on Wednesday November 22, 2023 @11:40AM
(#38381510)
In Fortran you can write high-performance array code without getting lost in a maze of pointers. As most of the code is written by academics, the talent question is pretty immaterial, there is no money to compete for top-level software engineers anyway.
[ Parent
| on HN ]
Re:Fortran 2023
by waynecochran on Wednesday November 22, 2023 @01:05PM
(#38382720)
Modern C++ has obviated almost all use cases for pointers. Smart pointers handle 90% of the cases where I would use a ptr. Raw ptrs are just for transient weak ptrs.
The problem with modern C++ is that there are several meanings of modern, and lots of classical libraries that aren't being rewritten.
I've never used modern C++, but I'd be interested to try it just to see what the overhead is in getting started writing some scientific code. When I was in grad school I used mostly Matlab, in which you can write matrix math without really having to learn any "programming". Same for numpy and Fortran. Definitely not for C. What about C++? Even the fact that pointers are being used at all would make it less attractive for a grad student who just wants to multiply some matrices.