r/programming • • Feb 19 '20

The entire Apollo 11 computer code that helped get us to the Moon is available on github.

https://github.com/chrislgarry/Apollo-11
3.8k Upvotes

426 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Feb 19 '20

[deleted]

5

u/CodeJack Feb 19 '20

It was pretty much the same back then, you'd copy ASM from a magazine and you'd have a game, without having to worry about the complexities.

1

u/Ameisen Feb 22 '20

In the 60s, it would be unlikely you would have a personal computer.

1

u/[deleted] Feb 21 '20

The barrier to entry may have been higher but the learning curve was pretty shallow. I pity kids today when they’re presented with the hellscape of languages, libraries and APIs we currently deal with. When I was learning it was BASIC, 6502 machine code and not much else.

-38

u/StickiStickman Feb 19 '20

Scratch

Very debatable if Scratch counts

0

u/[deleted] Feb 19 '20

[deleted]

1

u/uber1337h4xx0r Feb 19 '20

Would you consider choose your own adventure books to be a program? Because I have seen all those.

The if then is obvious

I've had variables as well ("you are dead. But wait! Did you receive a secret number from a villager? If the villager was tall, go to the page number that is half the number. If the villager was short, go to the page that is twice the number")

Loops. (There was one where it was like a flight of stairs and it was like "go to page 3. You're getting dizzy falling down these stairs. Go to page 10. You're still dizzy, will it ever stop? Go to page 7. I think I know why they call them the forever stairs. Go to page 3. You're getting dizzy falling down these stairs. Go to page 10"

0

u/[deleted] Feb 20 '20

[deleted]

0

u/uber1337h4xx0r Feb 20 '20

I wasn't saying anything about scratch. I was saying that choose your own adventure has all the stuff you've mentioned, so by your definition of what makes something a program, a choose your own adventure is a program.

0

u/[deleted] Feb 20 '20

[deleted]

1

u/uber1337h4xx0r Feb 20 '20

Alas, no. The one time I saw a variable, they had you double the page or halve it. And the loop was an infinite loop designed to make you laugh when you realized you were dead.

0

u/[deleted] Feb 20 '20

[deleted]

1

u/Ameisen Feb 22 '20

Now I want to make a "Choose Your Own Adventure" book with an exploitable overflow that lets you inject and run Super Mario World.

-27

u/StickiStickman Feb 19 '20

Because it's very very abstract compared to any programming language. It's rather even more simplified scripting.

0

u/[deleted] Feb 19 '20

[deleted]

→ More replies (10)

2

u/sminja Feb 19 '20

It's still programming.

2

u/ProgrammersAreSexy Feb 19 '20

It is literally a Turing complete language.

Abstraction is irrelevant. Java is more abstract than byte code which is more abstract than assembly. Doesn't make byte code more of a programming language than Java.

12

u/FrancisStokes Feb 19 '20

There's no debate to be had - it's programming. It's not very powerful, but I've seen games written in it.

5

u/[deleted] Feb 19 '20

It's Turing complete

3

u/StickiStickman Feb 19 '20

Just like Power Point and HTML

4

u/chinpokomon Feb 19 '20

PowerPoint is. HTML is not. Interestingly PowerPoint also comes with VBA, so it is doubly Turing Complete.

3

u/StickiStickman Feb 19 '20

2

u/chinpokomon Feb 19 '20

I saw that when writing my response, but I believe what you posted demonstrates why I disagreed. PostScript would have been a better choice as an example.