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

Not really, FORTRAN is still faster than C for numerical purposes due to array aliasing concerns.


AFAIK, not since 1999:

https://en.m.wikipedia.org/wiki/Restrict

But yes, Fortran can be as fast, although I'm not sure compilers are given the same love as in C


Depends about which compiler you are talking. I think there are very specialized Fortran compilers which produce excellent code for scientific applications.


People hardly ever use restrict. Anyway that's not the only advantage FORTRAN has. It also has native array support.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: