News for hackers. Stuff that matters.
Re:Why Fortran? by skissane on Monday November 07, 2022 @03:52AM (#33503092)
> It is not (if it ever was) a general programming language.

Colossal Cave Adventure (ADVENT) was written in Fortran.

Zork (aka Dungeon) was originally written in an obscure Lisp dialect invented at MIT, MDL; but Bob Supnik at DEC ported it into Fortran, and that version became widely distributed.

I used to work for a university, where the software which determined whether students had met all their degree requirements to graduate (such software is sometimes called a "degree audit tool"), was written in Fortran. Why? Well, it was a manual paper-based process, then one of the academics kindly volunteered to automate it for them. And he was one of the mathematics lecturers, and Fortran was his favourite language, so that's what he did it in. Some years later he retired, and without him the software became increasingly difficult to maintain – the university no doubt had some Fortran programmers in the physics/maths/engineering/etc departments, but the central administration's IT didn't. They ended up replacing it with some commercial off-the-shelf solution–no idea what that was written in, but almost certainly not Fortran.

Re:Why Fortran? by rad_gruchalski on Monday November 07, 2022 @04:12AM (#33503281)
First Prolog was written in Fortran.
Re:Why Fortran? by falsissime on Tuesday November 08, 2022 @03:53AM (#33517264)
The first Prolog was written in Algol-W. The second one, which was called Prolog I was written in Fortran. See comments for more: https://stackoverflow.com/a/4478969
Re:Why Fortran? by rad_gruchalski on Wednesday November 09, 2022 @03:43PM (#33537553)
Thank you, awesome.
Re:Why Fortran? by 7thaccount on Monday November 07, 2022 @08:16AM (#33505376)
Yes, I could see it being preferable or at least on the same level as Cobol and certainly better than using Assembly for programming text adventures, but surely that's just due to certain limitations of the times. Lisp came out like a year later (not sure how long until you could purchase a lisp machine) and is a much better general purpose language (some would claim it's still unsurpassed). Later we had things like APL, C, Pascal...etc and Fortran was left to numerical work.

All that to say I think Fortran can only claim to be what we call "general purpose" for a very limited window of time in the very early stages of computing.

Re:Why Fortran? by skissane on Monday November 07, 2022 @03:42PM (#33512119)
> Lisp came out like a year later

In the early 1970s, almost every minicomputer had a Fortran compiler. Lisp was much rarer. Pascal had only just been invented and C was only just being invented. If you wanted your software to be as widely portable as possible, your choices were Fortran or Cobol, and no wonder why many preferred the former. (Especially if we are talking about software in academic/research environments, where Fortran was far more common than Cobol.)

This has little to do with Fortran and Lisp's respective years of introduction (1957 vs 1958), but rather how far they'd managed to spread in their first 15 years (almost everywhere for Fortran versus only to a narrow subset of academic research institutions for Lisp.)

Re:Why Fortran? by 7thaccount on Tuesday November 08, 2022 @07:03AM (#33518217)
10 years out of ~70ish total is a pretty limited window in my eyes. I guess that's all a little subjective. Thanks for the additional information though. I figured there was a little more choice in the 70s.