I'm sure that the geeks reading this are probably thinking "isn't that an oxy-moron?", but they're wrong. These days, Fortran has many of the features you need to program in a modern style, including such new-fangled ideas as object-orientation, parallel processing and pointer manipulation
(
Read more... )
You should not trust the compiler to deal sensibly with mixed-mode arithmetic [remember that if you perform a calculation involving INTEGER, REAL and DOUBLE-PRECISION variables [all of which are defined by reference to the architecture of the target-platform] the outcome is only ever guaranteed to the precision of the lowest participant].
Occasionally, people track me down on the basis if comments embedded in some CFD code I did 30 years ago. They ask me "what does this bit do?" and "Why did you code it that way?" My instinctive response being "if you don't understand, you should not be asking the question!"
I really miss my CDC-7600 with its native 60-bit word. "THUD" - a.k.a a Honeywell 66/DPS-300 - was nowhere near as much fun, with its silly 36-bit word lebgth.
Reply
Leave a comment