The IBM 1401 compiles and runs FORTRAN II
CuriousMarc2 HN recommenders · recommended in 2 months, 2018–2021
demo · intermediate · evergreen · 2018–2021 on HN
CuriousMarc and colleagues at the Computer History Museum try to compile and run a FORTRAN II program on a 1959 IBM 1401. The machine has only 16k of memory and a CPU not meant for scientific work, so success is far from guaranteed.
Passed around in computing-history threads as a charming example of vintage hardware being coaxed into running FORTRAN.
Up next
9 mo on HNThe Engoodening of No Man's Sky
Internet Historian
9 HN recommender · 2020–2025
6 mo on HNApollo Guidance Computer Part 1: Restoring the computer that put man on the Moon
CuriousMarc
8 HN recommender · 2019–2024
3 mo on HNHow wildlife trade is linked to coronavirus
Vox
5 HN recommender · 2020–2020
15 mo on HNAT&T Archives: Similiarities of Wave Behavior (Bonus Edition)
AT&T Tech Channel
12 HN recommender · 2014–2026
14 mo on HNMicro Men - 720p (2009)
gimpymoo
15 HN recommender · 2015–2026
11 mo on HNLight Years Ahead | The 1969 Apollo Guidance Computer
TNMoC
11 HN recommender · 2021–2026
12 mo on HNMechanical Computer (All Parts) - Basic Mechanisms In Fire Control Computers
Excelsior10000
13 HN recommender · 2014–2025
12 mo on HNProject Code Rush - The Beginnings of Netscape / Mozilla Documentary
The Documentary Network
13 HN recommender · 2015–2026
11 mo on HNBret Victor The Future of Programming
Joey Reid
12 HN recommender · 2017–2026
11 mo on HNAlan Kay - Normal Considered Harmful
powerfuloutlet
10 HN recommender · 2012–2026
10 mo on HNVCF East: Ken Thompson interviewed by Brian Kernighan
Vintage Computer Federation
11 HN recommender · 2019–2025
11 mo on HNU.S. NAVY BASIC MECHANISMS OF FIRE CONTROL COMPUTERS MECHANICAL COMPUTER INSTRUCTIONAL FILM 27794
PeriscopeFilm
11 HN recommender · 2018–2026
5 comments from Hacker News
Not a link, but a video. A computer from 1959 (IBM 1401) at the Computer History Museum, compiling FORTRAN. The Youtube user has a lot of good material on restoring historical hardware. ▶ this video Also, be sure to read the email thread linked in the video comments. It's a conversation between the restoration team and the compiler's original authors (now in their 90s). If you're in SF and you want to see the 1401 in action, the Computer History Museum used to show it to the public on Wednesdays and Saturdays. Hopefully those demos will resume once the coronavirus situation's resolved.
If you haven't seen this already, CuriousMarc has also done this awesome series on the restoration of an original AGC - Apollo Guidance Computer last year. link And then there are real treats such as the restoration of a Teletype 33 ASR: link Or them trying to get Fortran to compile on an IBM 1401 Mainframe dated 1959. ▶ this video
On the IBM 1401, there wasn't an operating system so compiling a program was like you said: you put a stack of cards with the compiler and your program in the card reader. The compiler ran in literally 63 phases since there wasn't enough memory to do very much at one time. Compilation took about 3 minutes plus .76 seconds per statement. Your executable got punched onto a stack of cards that you could then run. Things were faster if you had a tape drive. Your source code would normally be on cards, but the compiler would be on tape. You can see a video of FORTRAN II compilation on the 1401 here: ▶ this video Other comments described a later system such as the IBM System/360, where you had an operating system so you could use a card specifying Fortran compilation and you were set. Description of the compiler: link
Here's a video of Fortran running on the IBM 1401 at the Computer History Museum: ▶ this video Because memory was so limited (8000 words), the Fortran compiler operates in 63 phases, where each phase consists of 150 to 300 instructions. In other words, the compiler's code was broken into chunks of 150-300 instructions, and that's all that could run in a phase. I'll also mention that memory was 8000 words and not 8192 words, because the IBM 1401 used decimal arithmetic.
Cool stuff, I'm watching [The IBM 1401 compiles and runs FORTRAN II]( ▶ this video ) and seeing that alternating green and white printer paper brought back some old memories of when dot-matrix printer paper was used as scratch paper during school days. Impressive to even see its still for sale link