Hacker News new | past | comments | ask | show | jobs | submit login

I'd be interested to know what kind of systems remain Fortran. Fortran has some serious advantages over C or C++ when it comes to high performance math and stats. I wouldn't be surprised if a lot of the heavy number crunching is done in Fortran, while C++, etc. are taking over functions that are further away from the hard math.



One fun thing you can do in Fortran (on a 32-bit machine) is compare four-character strings using integer equality, rather than the Fortran equivalent of strcmp(). And it's basically baked into the language; you don't have to do weird typecasting or anything like that.

That's why all the Bloomberg functions have four-letter names.


As far as i know C and C++ have similar performance now that you can use restrict to allow aggressive pointer alias analysis. Is this not the case?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: