5 ms·
I bet the old Fortran versions are supported and compile decades after the 'newer' languages stop being supported...
by hdjdbtbgwjsn 6y ago
I bet the old Fortran versions are supported and compile decades after the 'newer' languages stop being supported...
- tjalfi 6y agoI have compiled Fortran programs from the 70s on modern platforms without changing a line. The compiler, OS, and CPU architecture had all disappeared but the programs still worked correctly.
- hdjdbtbgwjsn 6y agoI've 'modernised' such an old program then come back a few years later, realised the 'modern' ones don't run anymore and reverted to the old Fortran version.
- TheRealKing 6y agoThat is likely a compiler issue. Besides being modern, Fortran 2018, 2008, 2003 have no backward incompatibility issues.
- hdjdbtbgwjsn 6y agoYou misunderstand. I 'modernized' to Python (similar to the GP). Then the Python version stopped being supported so I reverted to Fortran..
- occamrazor 6y agoAnd Python 2 scripts continue working just fine with the Python 2 interpreter.
- Drdrdrq 6y agoWhich is no longer supported.
- Wowfunhappy 6y agoWell, it is open source. I'm not expecting Python 2 to get completely dropped from Linux distros in the near future. (I could be wrong; I will be disappointed if I am.) There was an article the other day about problems mixing different python versions on Mac. I admittedly didn't read much of it—but I was somewhat baffled by the problem. I have Python 3 installed on my mac as "python3", and Python 2 (which comes with macOS) as just "python". I think that's the right way to treat them—as different, independent interpreters which can co-exist, as do, say, Python and Ruby.
- hdjdbtbgwjsn 6y agoOK but the latest Fortran specification and compilers explicitly support all Fortran77 code and a really large amount of F66 as well. Will there be Python 3.8 interpreters in 2100? F77 will still compile and run better than it did in the 1980s.