4 ms·
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 questio
by kryptiskt 3y ago
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.
- waynecochran 3y agoModern 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.
- andy99 3y agoI'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.
- pjmlp 3y agoThe problem with modern C++ is that there are several meanings of modern, and lots of classical libraries that aren't being rewritten.