Margaret Hamilton, NASA’s lead developer for Apollo program, stands next to all the code she wrote by hand that took humanity to the moon in 1969
Margaret Hamilton, NASA’s lead developer for Apollo program, stands next to all the code she wrote by hand that took humanity to the moon in 1969
Imagine having to look for the missing semicolon in there.
It’s probably written in Fortran66 or similar. No semicolons, but so many line numbers…
It’s written in assembly. You can check out the source code on GitHub.
Oh that’s so hardcore
edit: looking at the git repo, it looks like it was a team of seven, and she was the lead. So it isn’t all her code. Still super impressive :)
The other big notable thing for assembly is that it isn’t portable. Assembly is very different for every processor architecture, unlike something like C where you may have to make some adjustments between an x86 vs ARM proc, in assembly you’re basically rewriting it from scratch
For people unfamiliar with assembly, it’s one step up from raw 1s and 0s. Just vaguely human readable abbreviations for given sets of 1s and 0s. There are no built in loops or if statements, you have to build all that shit yourself from scratch every time you want to use one. And there’s exactly one built in variable you can use called the register
Removed by mod
I soooo wish IBM had gone with the Motorola 68000 family instead of the Intel 8086 family of chips for the PC. It had a far, far nicer instruction set.
Lol Fortran; it was written in Apollo Guidance Computer assembly; I frankly wouldn’t be surprised if she knew Mel Kaye
The story of Mel, for the uninitiated
Assembly. Like most embedded systems (at least up until we had enough power to waste on higher languages)