David X. Cohen's Fermat Near-Miss Finders in C

/*
   Fermat Near-Miss Finder

   Written by David X. Cohen
   May 11, 1995.

   This program generated the equation:

   1782^12 + 1841^12 = 1922^12

   For "The Simpsons" episode "Treehouse Of Horror VI".
   Production code: 3F04
   Original Airdate: October 30, 1995
*/

DXC's near-miss C code. Awesome. Simply, awesome.

A story about Lisp remote debugging « The thoughts of a Madman

Debugging a program running on a $100M piece of hardware that is 100 million miles away is an interesting experience. Having a read-eval-print loop running on the spacecraft proved invaluable in finding and fixing the problem.

The C Programming Language: 4.10

4.10 Recursion

C functions may be used recursively; that is, a function may call itself either directly or indirectly. Uninquiring souls may take this as just another peculiarity of those C folk, of whose ways their neighbours speak little to outsiders but much among themselves.

Keener news-followers, however, wondered at the events of the winter of 1927-28, the abnormally large number of calls placed upon the stack, the swiftness with which that list was sorted, the disturbing lack of heap allocation throughout the proceedings, and the secrecy surrounding the affair.

K & R & Cthulhu.

Tagged programming