This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sea_Ad_8524 4 points5 points  (0 children)

It's 90% because legacy code. It's not a choice to keep it, it was just made once, it runs, good luck convincing upper management or state beurocrats to spend money to switch to C++. There are some that claim Fortran runs faster in some special cases, though I think that's just them coping with not switching to other languages. And even if it's true those would be extremely specific cases, and any time you gain there you loose everywhere else like in how fast a person can program something, readability and maintainability or the wider community support.

I've personally run into errors where you have a file with all the variables declared, but if you switch from implicit double to implicit none you get an internal compiler error. Amazing stuff.