6 ms·
Is it true that pointers are completely non-existent in Fortran? This may be related to your point about data structures. I've heard there is no null dereferen
by idm 10y ago
Is it true that pointers are completely non-existent in Fortran? This may be related to your point about data structures.
I've heard there is no null dereferencing and pointer nonsense - all without the need for a garbage collector - which ultimately leads to Fortran's great reputation for speed.
- sampo 10y agoFortran has pointers since Fortran 90. But you don't always need to resort to pointers like in C, as Fortran also has allocatable arrays. You can still follow a null pointer, though, if you don't test for it first.