3 ms·
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 sta
by beloch 11y ago
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.
- raldi 11y agoOne 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.
- airza 11y agoAs 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?