Spyke

Posts

programmer_humor·Programmer Humorbydactylotheca

`0x0d2C` – Ode to C

By Jon S. Stumpf

May your signals all trap
    May your references be bounded
All memory aligned
    Floats to ints rounded

Remember ...

Non-zero is true
    ++ adds one
Arrays start with zero
    and, NULL is for none

For octal, use zero
    0x means hex
= will set
    == means test

use -> for a pointer
    a dot if its not
? : is confusing
    use them a lot

a.out is your program
    there's no U in foobar
and, char (*(*x())[])() is
    a function returning a pointer
    to an array of pointers to
    functions returning char

View original on suppo.fi
101

34C3 - The Ultimate Apollo Guidance Computer Talk

Youtube link: https://www.youtube.com/watch?v=xx7Lfh5SKUQ

A fairly in-depth and "dense" C3 talk about the AGC that covers the architecture and instruction set, the hardware implementation, peripherals, and the system & mission software.

Really interesting stuff if you're into retrocomputing and/or computers that got people to the fucking Moon, and if you're not the sort of person who turns into an unskippable cutscene when the AGC is mentioned, you'll probably learn a lot. If you're like me and you are that sort of person, you'll probably enjoy the talk anyhow.

(book tips: The Apollo Guidance Computer: Architecture and Operation by Frank O'Brien for AGC details, and Digital Apollo by David Mindell for a general overview of the automation in Apollo)

34C3 - The Ultimate Apollo Guidance Computer Talkhttps://piped.video/watch?v=xx7Lfh5SKUQOpen linkView original on suppo.fi
14