Hacker News new | ask | show | jobs
by unfamiliar 4787 days ago
I use Fortran every day for fluid dynamics research. Fortran is the abusive partner you keep going back to. If C had array operations and aliasing restrictions I would switch in a heartbeat. As it is the syntax "a=b" is a lot better than four nested for loops and hence 4 opportunities to fuck up the indices.
1 comments

C99 added the `restrict` keyword http://en.wikipedia.org/wiki/Restrict