News for hackers. Stuff that matters.
Re:Why physicists still use Fortran by greglindahl on Sunday December 18, 2016 @08:35PM (#13208866)
Your Fortran summary is incorrect. F77-style arrays are generally passed as a raw pointer (under the hood.) F90-style allocatable arrays are passed as an array descriptor containing size information, again under the hood.

This doesn't affect aliasing in Fortran at all. Aliasing is simply prohibited, which leaves the compiler free to generate code that gets the wrong answer, if the programmer screws up and has actual aliasing at run-time.

Re:Why physicists still use Fortran by CJefferson on Monday December 19, 2016 @03:51AM (#13210295)
Apologises, you are right. It's so long since I did Fortran I had misremembered that the language made it impossible to alias, as opposed to it being undefined behaviour.