this post was submitted on 04 Jun 2026
254 points (99.6% liked)

Programmer Humor

31711 readers
261 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 

This is the code in the Apollo Guidance Computer for Apollo 11.

It's part of the LUMINARY sofware, which ran on the AGC on the Lunar Module. It's meant to check if the landing radar is pointed toward the lunar surface - because the LM went through several orientations, the landing radar could be pointed to the front or the side or down. You're landing on the Moon. Point it down.

Point is, you have to verify user input. Even if your users are the most meticulous and highly trained individuals in history. You have to see if they're lying. So you get to the BURNBABY.

Browse the code in GitHub - this code is in THE_LUNAR_LANDING.agc

you are viewing a single comment's thread
view the rest of the comments
[–] ChaoticNeutralCzech@feddit.org 1 points 22 hours ago

There's a 2001 rewrite of the documentation. There's lots of funny instructions aside from P00 meaning root process of the computer, like an OS kernel which also includes the P00D00 abort routine. There is also SEXTMARK (sextant mark) and ENEMA (software restart).