Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: