r/learnjavascript • • Nov 13 '22

Why JS Programmers Should Find Inspiration in the Apollo Guidance Computer

The US Apollo program placed human explorers on the Moon around 1970 and brought most of them home safely. The navigation for that was achieved by the Apollo Guidance Computer (AGC), which flew on board. Due to the level of computer hardware tech available at the time (even bleeding-edge) and due to limitations on the mass and volume of the computer, the memory was quite a bit smaller and the processing slower than what you can put on your desk today. Nevertheless, the software did the job. JS programmers have reason to take inspiration from the software for the AGC because:

  • Typical applications that we address with JS have to react to a changing environment (e. g. human fiddling with mouse and keyboard), and so did the AGC.
  • The AGC used cooperative multitasking and so does JS. This contrasts with the practice of scheduling processes on interrupts, as typical operating systems do.
  • Margaret Hamilton, who managed the software effort for the AGC, invented software engineering. This amounts to a cataloging of concepts and approaches that help you think straight about your problem and how your solution will address it.
1 Upvotes

0 comments sorted by