3 ms·
It is not.
by pklausler 3y ago
It is not.
- Bostonian 3y agoIf your answer is binary, that's true, but quoting the post, 'Fortran is not immune to [memory errors], though it is less vulnerable than pointer-based languages. Fortran does have a restricted form of pointers, but for most applications, allocatable arrays provide a flexible and memory safe alternative. Unlike pointer arrays, allocatable arrays cannot leak memory or leave dangling references.'
- pklausler 3y agoC++ is “memory-safe” too, then; just use smart pointers and STL containers, right? But no, that’s not really what the term means.