3 ms·
Seconded. I worked at Bloomberg from 2003-2007, and over the course of that time I think I needed to change about five lines of Fortran total. It was mostly use
by raldi 11y ago
Seconded. I worked at Bloomberg from 2003-2007, and over the course of that time I think I needed to change about five lines of Fortran total. It was mostly used in "if it ain't broke" systems that weren't seeing a lot of change; everything under active development had long since been rewritten in C, C++, or a higher-level language.
- beloch 11y agoI'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?