by alexey-salmin · 6mo ago · 0 comments
The "restrict" keyword was invented to solve this but it still has weaker semantics than original Fortran arrays. It can still solve a big share of problems, but it never got proper adoption and never even made it into C++.
(It's not as portable as C though, and the compilers have more bugs.)