August 8th, 2003, 1:15 pm
trc,I think it very much depends on the firm. I have no idea how widespread it is in QF, but I do know that one of our PhD students just got a job at an energy trading firm and two of his big selling points were that he had knew Fortran9x and he had written a significant app (~1500-2000 lines) in Fortran.My own personal opinion is that its a great language, it allows those who are not programmers to build apps quite quickly, that do run quickly. And although DCFC and I could go back and forth about what language produces the fastest code, at the end of the day, compilers matter more than languages for speed. If you must write C/C++ and care about speed, then buy a compiler which cares about speed. (such as Intel) That is one difference between Fortran and C/C++ compilers. Speed is a primary concern to _all_ Fortran compilers, and I think it gets much less attention with most C/C++ compilers.I will flatly contradict him on one point, though, and that is that using OO will slow down Fortran. One of the strengths of Fortran is that the language standard is written specifically with optimization in mind. Adverse optimization impact is one of the primary reasons that various langauge modifications are voted down. On the flip side, because optimization is such a priority, many of the most useful OO concepts are not available in Fortran (function pointers, for one, though there are many others, and about 75% of these are in the newest language revision, Fortran200x).To reiterate, I defer to others about how widespread Fortran's use is. I know that it's use is not zero, but it is certainly less than C/C++, though I still don't know why... Matt.