Celebrating 70 Years of Fortran

(fortran-lang.org)

68 points | by rbanffy 1 hour ago

16 comments

  • dranudin 2 minutes ago
    I wrote Fortran for my first job as a software developer in 2018 for simulation solvers. Still like the language! Modern fortran is very very fast and much nicer to use than C for linear algebra. So in my opinion for numerical calculations it remains the best language, even today. Happy Birthday!
  • jmspring 1 minute ago
    An ex got me "A Fortran Coloring Book" years ago while I was working with astronomers. I was still in grad school and it gave me an excuse to learn it.
  • FabHK 36 minutes ago
    I wanted to learn Fortran in the 1990s and borrowed a Fortran book from the university library. On the first or second page it stated "To mark comments, just punch a letter 'C' into the first column of the punch card." I returned the book and never learned Fortran.

    Having said that, so many foundational libraries were implemented in Fortran (BLAS, LINPACK/EISPACK, LAPACK, MINPACK, FISHPACK, FFTPACK, etc.) - thanks for that.

  • whartung 29 minutes ago
    FORTRAN was a very important language for me.

    Growing up on early micros, with BASIC, my father had Fortran for the TRS-80.

    I took a stab at learning it, but the documentation was reference for calling the compiler, not so much learning the language. And when I found a FORTRAN book, it was quite dated and talking about things like tapes and punches and what not.

    So, that effort stalled.

    But, my first quarter in college, I took a FORTRAN (77) class. FORTRAN taught on the schools CDC Cyber mainframe.

    This was quite a change from 8-bit PET BASIC.

    But, most importantly, it was exposure to much of the same concept that an 8-bit computer has, but from a different tact.

    This gave me more of a way to view things from a higher level, since I had to make them fit the two different views of how FORTRAN looked at things, how the Cyber presented things, and how BASIC and the PET were "same thing only different".

    It also gave me access to a multi-user system, and all of the interesting capabilities it offers.

    I remember when they put in their first lab of PCs, and how they started teaching folks Turbo Pascal on micro computers, and I just felt that the users were missing out on a bigger world. "Anyone" can access a PC or micro computer at home, but mainframe or multi user mini access, not so much. It's just a much bigger world out there, and we tend to baby duck what we first see.

    Different world today, never had to use FORTRAN professionally, but I am most grateful for the experience of learning it and its environment. Very powerful medium for broader learning.

    Also FORTRAN was the only notable computer thing I had "taught" to me (outside of my 20 minute introduction to BASIC by my high school teacher), pretty much everything else I self learned from books and such, even knowing the bulk of it before taking classes in school.

    • otterdude 9 minutes ago
      Fortran while historically important doesn't really seem like a good choice today.

      I worked with a proprietary jet engine analysis software suite written in Fortran 77 and It felt very primitive, albeit fast.

      Today I feel like C is a much better choice for speed and readability.

      If you really need the fastest performance I dont think Fortran gives that much of an advantage writing assembly.

      • jleyank 1 minute ago
        With vector machines, Fortran yielded (much) faster code because (a) there was a whole lot of work on preprocessors for "dusty deck" code and (b) the lack of pointers and their overlap let the compilers do their stuff. C code needed a lot of #pragma's to let it know that some pointers didn't overlap and so could be optimized.

        We found it best to to the front-end and I/O of the code in C and the compute in Fortran. Fastest calculations especially with those tailored libraries.

      • crassglassass 8 minutes ago
        Aren't most people doing this kind of work these days engineers using matlab?
  • hermitcrab 1 hour ago
    I started off programming in FORTRAN in my first job, 40 years ago. There was a lot of terrible stuff in FORTRAN from a software engineering point of view: COMMON blocks, GOTOs, ENTRY points (to enter a subroutine part way through!), but it was one of the first high level language and language designers had a lot to learn.
  • jandrewrogers 50 minutes ago
    FORTRAN is also the origin of using 'i', 'j', 'k', etc as loop variables in code, since 'i' was the first variable name that could be used for that purpose. The original language design was constrained by very primitive computers.
    • jibalt 2 minutes ago
      The original language design was constrained by primitive thinking and lack of experience. The nature of computers in 1957 had no bearing on such things as variable names starting with I-N being implicitly integers ... that followed existing mathematical practice.
    • tyromaniac 39 minutes ago
      Is that really true, if so, what's your basis? Fourier used i for the same purpose, and it definitely became a pretty standard indexing variable long before the 1950s. Most early code written in FORTRAN was essentially just transcribing formulae and algorithms that already would use such variable names.
    • throw-the-towel 24 minutes ago
      i has been the default variable for sum notation in mathematics long before FORTRAN. Here's an example dating from 1838: https://www.numdam.org/item/JMPA_1838_1_3__508_0.pdf
    • whartung 40 minutes ago
      The reason 'i' was the first letter available was because by default identifiers starting with, I think, I-N were integers instead of float.

      When I first started, with BASIC, my variable of choice was T simply because it was easy to type NEXT T in the FOR loops (why not R? I dunno...T just stuck).

  • hotelsacher 1 hour ago
    Happy birthday! I think this has to be the oldest programming language still in use. 70 years is quite an eternity in the sphere of computing. Before Fortran, there was (almost?) nothing but assembler and plug board connectors.
  • ryan_glass 1 hour ago
    In the mid 90s I used Fortran to model a distillation column in a chemical engineering plant. Here I read that it is still the go to language for nuclear engineering. I am amazed but for some reason happy about this.
  • richardantj 43 minutes ago
    It's 30 years since I last used Fortran to pass my Civil & Structural Bachelor's and Masters. Loved the simplicity of it, modelling spring stiffness in concrete and steel piles hammers into the ground and tie rods being pulled out of their grout anchors. However, what blows my mind is that something I did on a 386/ 486 as a 3-6 month research degree is now modelled by AI and run on my desktop in minutes.
    • brcmthrowaway 31 minutes ago
      Well, what happened with your degree? Do you use it?
  • jibalt 1 hour ago
    I learned programming in FORTRAN II on an IBM 1620 in 1965.
  • Frone125 1 hour ago
    It's crazy to think that any programming language is that old.
    • jibalt 1 hour ago
      I don't see why. LISP is just a year younger and COBOL is 2 years younger. And Algol, spawned a year after FORTRAN, is no longer used as such (although there is now GCC support for Algol 68) but spawned many "Algol-like" languages, including most of the languages used today ... and even modern Fortran can be considered "Algol-like", having evolved to include its block structure.

      FWIW, I started programming in 1965, in FORTRAN II.

    • tasty_freeze 1 hour ago
      As someone who has been programming for nearly 50 years of it, it seems less remarkable.
  • BeetleB 32 minutes ago
    Have people moved on from Fortran 77?

    It was frustrating that, 30 years after Fortran 77, professors were insisting in writing in that dialect. Thank God I escaped that hell.

  • RetroTechie 43 minutes ago
    More precise:

    Many years of FORTRAN. Followed by many years of Fortran.

  • hermitcrab 1 hour ago
    "A good FORTRAN programmer can write FORTRAN in any language"
  • shaohua 56 minutes ago
    Thank you,Fortran!
  • jmclnx 1 hour ago
    My first language, I should try and mess with it again. It has been decades since I used it.
    • hermitcrab 1 hour ago
      I believe it has changed quite a lot, keeping its focus for scientific/engineering computing, but adapting more modern language constructs. I'm not sure how much of the archaic stuff (COMMON blocks, ENTRY points etc) is supported in the more recent standards for backward compatibility.