Live data from Hacker News

Von Neumann's First Computer Program (1970)

dl.acm.org

11–20 of 25 posts

Re: Von Neumann's First Computer Program (1970)

#11
Still throws me that “order” here means something like “instruction” as in “that’s an order, lieutenant!” and “code” means something like “set,” as in “legal code” or “code of conduct.”

“Program” however is already used here by Knuth in more of the contemporary sense, though I gather in the time of ENIAC and EDVAC, a “program” was more narrowly the sequence of operations that implemented an order/instruction.

What I love most about all this, though, is how much of the machine you can see in the algorithm and the programming. You can almost visualize the vacuum tubes turning on and off in response to these instructions, which themselves would have been electrical pulses arranged into patterns according to the positions of a bunch of Bakelite switches. Just amazing.

Re: Von Neumann's First Computer Program (1970)

#13
post #8

Earlier quoted context omitted.

Stored program computing didn't spring out of Zeus' forehead; radix and merge sorting were already a computing thing in the epoch of punched cards.

Merging on a collator is different from merge sort. And yes, the concept of sorting was known before von Neumann. Still, not sure about you but my first computer program was quite a bit more basic, so allow me to remain impressed.

Well, out of all people it was von Neumann, who at six years old could divide eight-digit numbers in his head, and who even his fellow "Martians" [1] speculated might not be merely human.

"I have sometimes wondered whether a brain like von Neumann’s does not indicate a species superior to that of man." – Hans Bethe

"von Neumann would carry on a conversation with my 3-year-old son, and the two of them would talk as equals, and I sometimes wondered if he used the same principle when he talked to the rest of us." – Edward Teller

“There was a seminar for advanced students in Zürich that I was teaching and von Neumann was in the class. I came to a certain theorem, and I said it is not proved and it may be difficult. von Neumann didn’t say anything but after five minutes he raised his hand. When I called on him he went to the blackboard and proceeded to write down the proof. After that I was afraid of von Neumann” – George Pólya

[1] https://en.wikipedia.org/wiki/The_Martians_(scientists)

Re: Von Neumann's First Computer Program (1970)

#14
post #9

The title states that this is von Neumann’s “first computer program,” but the writing includes plenty of indicators to the contrary and introduces the qualifiers “stored” and “extant.” Maybe Knuth will issue a reward check to someone who emails him to fix the title?

Folklore is that Knuth hasn't used email since the 90s. You need to send dead trees to his secretary and hope she forwards it to him.

Re: Von Neumann's First Computer Program (1970)

#15
post #11

Still throws me that “order” here means something like “instruction” as in “that’s an order, lieutenant!” and “code” means something like “set,” as in “legal code” or “code of conduct.” “Program” however is already used here by Knuth in more of the contemporary sense, though I gather in the time of ENIAC and EDVAC, a “program” was more narrowly the sequence of operations that implemented an order/instruction. What I…

Back in the 90s, I read "Bobby Fischer Teaches Chess," which he didn't write. It was published in the 60s. I can recall finding it strange how the author goes through the effort to explain what a program was within the context of his book, as though it didn't normally mean what I already understood it to mean.

Re: Von Neumann's First Computer Program (1970)

#17
“[John von Neumann] probably never intended to have this program published and subjected to such scrutiny; although his manuscript is carefully documented, he probably wanted only to circulate it among a few interested colleagues. So when we find a few errors and a few instances of clumsy coding, we should realize that it was an early effort that was not supposed to represent a polished product.”

Re: Von Neumann's First Computer Program (1970)

#18
post #4
post #3

tl;dr a variation of merge sort. Which is still one of the best sorting algorithms ever devised. Pretty impressive for the first stored computer program ever.

Impressive also Knuth decided to represent the math as assembly for CLARITY. Sounds like a major blow to math notation when it comes to algorithms…

His books are filled with assembly code. He created a machine and an assembly language to be vendor independent for his famous book series The Art Of Computer Programming. I first saw this in 1978 when I took data structures and I remember thinking that was a bit idiosyncratic even then.

Among all the things Professor Knuth is famous for is writing an Algol compiler for the Burroughs 205 in assembly on paper over one summer just after he graduated from college. There's a handwritten listing of it at the computer history museum. It's pretty interesting and shows off how he programmed and thought about programming in 1960-1961. It's probably not terribly different from how other people programmed back then but he was better at it than most.

https://www.computerhistory.org/collections/catalog/10272457...

Re: Von Neumann's First Computer Program (1970)

#19
I believe some researchers have come to the conclusion that "the earliest extant program for a stored program digital computer" was not written by John von Neumann, but by his wife: Klára Dán von Neumann.

Knuth references a letter "in the possession of Dr. Herman H. Goldstein," but scholars making the case for Klara are usually referencing the archival materials at the LoC:

http://rs5.loc.gov/service/mss/eadxmlmss/eadpdfmss/1996/ms99...

I'm doing some research that involves this issue, and I'd be grateful to anyone who has any insight on this. There's a book called Klara and the Bomb, which is quite fascinating (and makes the claim for Klara), but that book leans more toward art than research scholarship.

I am aware that "firsts" are often hard to identify when it comes to the history of science and technology; I'm personally more interested in what these very early programs were being used for than who wrote them, per se. But I'd still like to know if Knuth is actually correct in his assumption.

Post reply on HN