Ananyo Bhattacharya Profile picture
Oct 12, 2021 22 tweets 9 min read Read on X
For #AdaLovelaceDay21, a long thread on Klári Dan von Neumann, writer of the first truly useful, complex programs ever to have been executed on a modern computer and to my mind, the most overlooked person in the history of computing 1/
Klári was born 110 years ago to a wealthy Jewish family in sparkling Belle Époque Budapest. The family hosted riotous parties where businessmen and politicians rubbed shoulders with artists and writers. She would rekindle the spirit of those gatherings in America years later 2/
Klári first met John von Neumann on the Riviera in Monte Carlo in the early 1930s. The Hungarian mathematical genius had a ‘system’. When he ran out of money, she bought him a drink. They were married in 1938. She was his second wife. He was her third husband 3/
The pair lived in a grand white clapboard house in Princeton, where von Neumann was a professor at the elite Institute for Advanced Study (along with Albert Einstein and Kurt Gödel) 4/
During the war, Klári, who had no education beyond high school, worked on demographic projections at the university’s Office of Population Research. She was quickly promoted and turned down an offer of an academic post at the university 5/
In the 1940s, bombs and computers were foremost in von Neumann’s mind. At Los Alamos (below), he helped design the ‘Fat Man’ atom bomb. In 1944, while looking for the fastest calculating machines in the US, von Neumann chanced upon the ENIAC... 6/
Soon to become one of the world’s first digital electronic computers, the room-filling ENIAC was not a modern ‘stored-program’ computer. Born as a machine of war, the ENIAC was made for a single purpose: calculating artillery trajectories 7/
After joining the project, von Neumann produced the EDVAC report, the blueprint for almost all computers today. In April 1947, faced with a huge backlog of bomb calculations from Los Alamos, von Neumann hit upon the idea of converting the ENIAC into a stored-program computer 8/
Los Alamos hired Klári as a consultant that summer. Coding, she said, was like a ‘very amusing and rather intricate jig-saw puzzle’. In April 1948, she and physicist Nicholas Metropolis converted the ENIAC into a stored-program computer – the first of millions more to come 9/
The first programs to run on the ENIAC in its new guise were written by Klári. They were Monte Carlo simulations, tracing the paths of neutrons through an atom bomb. The code listing was 28 pages long—all in Klári’s handwriting en.wikipedia.org/wiki/Monte_Car… /10
Time on the ENIAC was precious, and the team laboured all hours of the day and night to get the job done. Klári lost 15 lbs and needed check-ups at Princeton Hospital. Still, she wrote the definitive guide to the conversion and use of the ENIAC in its new mode /11
In October, Klári returned to the Ballistics Research Laboratory in Maryland for a second Monte Carlo run on the ENIAC. The run was finished on 7 November. Next month, she travelled solo to Los Alamos to defend her work before the likes of Edward Teller and Enrico Fermi /12
‘Things are kind of upside down,’ Klári wrote to family friends Stan and Françoise Ulam shortly before the third and final Monte Carlo run began. ‘Please pray for me and hope for the best.’ The problems were finished, successfully, on 24 June 1949 /13
Klári came home exhausted, reporting she had ‘brought with me to Princeton all secret documents’– probably nuclear cross-section data showing the chances of fission occurring in different materials. Los Alamos accorded that level of trust to very few-and even fewer women /14
In 1950, Klári returned to the Ballistics Research Laboratory one last time to test Teller’s ‘Super’ design. The simulations confirmed that Teller’s hydrogen bomb assembly would not work, and the project was abandoned. Modern bombs are based on the later Teller-Ulam design /15
After the Super calculations, Klári retired from the forefront of computing. Plagued by insecurity and worsening bouts of depression, she penned no further code herself, even when her husband’s machine at the IAS started running reliably in 1952 /16
The ‘Manchester Baby’, usually credited as being the world’s first electronic stored-program computer, ran its first program on 21 June 1948, two clear months 𝙖𝙛𝙩𝙚𝙧 Klári’s code ran on the reconfigured ENIAC, arguably also a stored-program computer /17
The Manchester Baby cycled through 17 instructions over fifty-two minutes to determine that the highest factor of 262,144 is 132,072. Klári’s 𝟖𝟎𝟎-command program, which ran two months earlier, was used to adjust the composition of atom bombs... /18
The invention of the closed subroutine is often credited to computer scientist David Wheeler, but Klári’s code made use of one at least a year earlier than he did, to generate random numbers by von Neumann’s ‘method of middle-squares’ en.wikipedia.org/wiki/Middle-sq… 19/
Klári’s story ends tragically. She married a fourth time after von Neumann’s death but could not escape her ghosts. In November 1963, she filled her elegant black cocktail dress with 15 pounds of wet sand and walked into the sea off La Jolla 20/
The full scope of Klári’s contributions to computing have only recently come to light. Run on an ENIAC emulator today, her code reliably spits out the right numbers, plotting the fates of neutrons inside the atom bomb that her husband had helped build mitpress.mit.edu/books/eniac-ac… 21/
Thanks for reading. There’s more about Klári Dan (including excerpts from her amazing memoirs) in my book about her third husband, John von Neumann out now in the UK and many other countries, US and Canada on 22 February... penguin.co.uk/books/313705/t…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Ananyo Bhattacharya

Ananyo Bhattacharya Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Ananyo

Jan 2
Whenever I have pressed the case that John von Neumann should be considered the father of the modern stored-program computer ie the one that nearly everyone uses and carries around in their pockets, I've been met with hurt rebukes.
These rebukes are sometimes based on scholarship (sadly, out of date) but mostly these outraged critics base their opinions on what they read on the Internet and some fairly sloppy pop histories.
So let's lay out von Neumann's claim properly, as I have not seen it done elsewhere. The argument has three strands:
1. An idea
2. A principle
3. A machineImage
First, let's deal briefly with some of the other figures and machines oft cited in this debate. Important to note that all those below had key roles in the development of computing machines but none could be credited with sparking the development of the modern computer.
1. Zuse. The Z3 was electromechanical and wasn't really Turing complete. Moreover both the Z3 and the Zuse's 1945 Z4 stored programs on tape and not internal memory. Zuse later claimed he considered and rejected treating program instructions as data, which is exactly what all modern computers do. The roots of modern computing do not lie here.
2. Babbage & Lovelace. Babbage designed a digital mechanical general-purpose computer that was never built and, again, was programmed by punched cards and did not store programs in memory. Lovelace wrote an algorithm for it. It had a bug and it never ran because the machine it was designed for was never built. Lovelace's contributions were not recognised until the mid-twentieth century, when she was rightly celebrated for her achievements. But this was AFTER the first modern computers were in action.
3. The Manchester Baby (SSEM). Generally recognised as the first electronic stored-program computer. But it's design was completely based on von Neumann's EDVAC report. It ran its first program on 21 June 1948. As we shall see, that was TWO clear months after the ENIAC, reconfigured into a primitive stored-program computer by von Neumann's second wife, Klari Dan, ran its first program. Klari's program had 800+ lines of code and was the first ever computer simulation (of an atom bomb. An accurate one sadly).
4. Mauchly & Eckert. Designed and built the ENIAC, the first electronic, general-purpose digital computer. The ENIAC was 'programmable' in the sense that you could spend a few days changing the plugs and wiring around, a big job in itself, then troubleshoot for a few more days but the hassle was such that in practice it ran the same program for weeks and months. These two deserve a lot of credit. But the ENIAC did not store programs internally until von Neumann, Dan et al reconfigured it into an EDVAC-style stored program computer in 1948. That configuration change is what makes the ENIAC a contender for 'first' modern stored-program computer. Critics will argue it was never designed as one however. They would have a point but it is possible for reasonable people to disagree on this.
5. EDSAC. There are no prizes for second place. An EDVAC-style stored program computer that ran its first program in 1949. Again, based on von Neumann's EDVAC report.
6. Harvard Mark I. A lovely machine by Howard Aiken. It was electromechanical and did not store programs in memory, it was programmed with punched tape. Incidentally, guess who ran the first program on it? Yep, Johnny von Neumann in 1944, checking out whether his design for the implosion bomb (which would become Trinity) would work. Aiken never knew.
7. Atanasoff–Berry computer (ABC). Alas poor Eckert. After the patent wars over who invevented what were concluded and the computer determined to be unpatentable, the court declared the ABC to be the first automatic electronic digital computer. The ABC though was not programmable. Eckert had paid a visit to Atanasoff though before building the ENIAC. He took notes.
8. The Colossus. Ah the Brits. You invent the world's first programmable, electronic, digital computers and you keep it secret until the mid-70s. The Colossi were not in any case modern stored program computers.
9. Turing. No, no, no. Turing had nothing at all to do with the modern computer. He had a great paper in mathematical logic which grappled with Hilbert's Entscheidungsproblem. But it most certainly was not a blueprint for a modern stored-program computer. None of the pioneers above read Turing's paper. Von Neumann did but it is not at all obvious that somehow led him to the von Neumann architecture. Turing's theoretical work was later co-opted by the nascent discipline of computer science in the late 1950s when it needed a formal theoretical underpinning (in universities, you don't want to get mistaken for engineers). Here's historian Tom Haigh "Von Neumann Thought Turing’s Universal Machine was ‘Simple and Neat.’ But That Didn’t Tell Him How to Design a Computer." dl.acm.org/doi/pdf/10.114…
Turing designed but did not build a stored program computer, the ACE. His design appeared AFTER von Neumann's report, cited it, absorbed many of its features but introduced some clever 'improvements'. These improvements meant it lacked thesimplicity that made von Neumann's architecture so attractive (and so it remains). The ACE was, in effect, another dead end. Ask yourself why, if the von Neumann architecture was as stunningly obvious as some have alleged in hindsight, why did Turing choose to have a different, more complicated architecture and why did his 'improved' architecture fail to take off in the way that von Neumann's did?
"Schrödinger was not trying to advance the state of the art of feline euthanasia. Neither was Turing proposing the construction of a new kind of calculating machine."-historian Tom Haigh.
Turing boosters shouldn't be too upset. He made brilliant, real contributions to mathematical logic, code-breaking and AI.
Here's a sympathetic article on the ACE and its influence. cacm.acm.org/opinion/alan-t…
And here's a series of posts by me on why it's not Turing
ananyo.substack.com/p/the-fascinat…
And here's what John Womersley, who recruited Turing to the NPL, had to say about his ACE design:Image
Now to the case for von Neumann.
1. An idea. The von Neumann architecture as first elucidated in the First Draft of a Report on the EDVAC (a potential successor to the ENIAC), distributed (without the permission of von Neumann, Eckert or Mauchly) on June 30, 1945. This would lead to much bitterness later as it was one reason that the computer was deemed to be unpatentable. Wiki tells you that "the name has become controversial due to von Neumann's failure to name other contributors". One of many injustices against von Neumann on wiki. The coversheet was added by Goldstine, who was responsible for circulating it to every nascent computer project in the world.
Nonetheless, the units von Neumann listed, the very large internal storage which would hold programs as well as data, the preference for vacuum tubes over relays, the use of binary, the "modern code paradigm" (ie the way modern programs are written, which was shaped by von Neumann's interest in formal logic and foundations of maths) etc etc represents the first blueprint of the modern computer and still the basis of nearly every computer today. "Today, it is considered the birth certificate of modern computers.’ -- Wolfgang Coy.
Von Neumann is often denied credit for these ideas because of allegations that he 'stole' ideas from M&E. This is usually drawn from testimony by the very bitter M&E and some of the original staff who worked on the ENIAC. It is clear that while they had (sometimes grudging) respect for von Neumann they absolutely despised Goldstine, an uppity mathematician. However, the best recent scholarship we have on this (by Tom Haigh and colleagues, ENIAC in Action) is not in the public domain. It's a book! So you'll have to buy it. But by a forensic examination of contemporary documents, they concluded the following: " Our best interpretation of the evidence is that, by editing, assembling, and extending ideas discussed at the joint meetings with the ENIAC team, von Neumann established for the first time, the EDVAC architecture as a unified whole ...Althought the different "organs" (ie units) proposed in the First Draft had all been discussed in the joint meetings, the particular way in which they were connected was determined by the design decisions made by von Neumann."
They agree with Burks, senior engineer on the ENIAC: "I do not think any of us at the Moore School had an architectural model in mind for the EDVAC until we learned of Johnny's."
Read 6 tweets
Sep 4, 2024
My new piece! "Why should physics—rooted in making sense of real things in the world—provide such good leads for solving some of the toughest problems in mathematics, which deals with intangible stuff, like functions and equations?" Enjoy! 🧵 1/
nautil.us/why-physics-is…
For centuries, philosophers, mathematicians and physicists have pondered why maths 'works' in the sciences. Eugene Wigner even devoted a whole essay to what he called the “Unreasonable Effectiveness of Mathematics in the Natural Sciences.” But what about the converse question? 2/
Why should insights from physics so consistently drive progress in pure mathematics, which is so divorced from 'real world' problems?
For instance, Archimedes described how the laws of mechanics had spurred some of his most important discoveries in geometry. 3/
Read 7 tweets
Apr 24, 2022
Von Neumann was so far ahead of his time, contemporary science fiction authors appreciated his ideas years before many of his colleagues did... 1/
His lectures on self-replicating automata delivered at the 1948 Hixon Symposium on Cerebral Mechanisms
in Behaviour were published in 1951. They occured first in Philip K Dick's 1953 short story, 'Second Variety', which was turned into a film-'Screamers'-in... 1995 2/
Philip K Dick took up the idea again in 1955 with 'Autofac', the tale of automatic factories set on consuming the Earth’s resources to make products that no one needs–and more copies of themselves (mentioned in 'The Man from the Future')... 3/
Read 10 tweets
Mar 2, 2022
German mathematician Grete Hermann was born #OnThisDay in 1901. The only female doctoral student of the only female professor of mathematics at the University of Göttingen, Emmy Noether. Short thread. More in my book! 1/ wwnorton.com/books/the-man-…
Hermann flourished at Göttingen despite the sexism of the faculty. Just a few years before she began her PhD, historians and linguists had tried to block Noether’s own appointment, forcing Hilbert to intervene on her behalf. 2/
‘I do not see that the sex of the candidate is an argument against her admission,’ Hilbert retorted. ‘We are a university, not a bath house.’ (David Hilbert would have rocked Twitter had it existed in the 1920s BTW). 3/
Read 15 tweets
Feb 8, 2022
Mathematical genius John von Neumann died 65 years ago today in Washington D.C. Possibly the smartest person who ever lived, he forged a blueprint for the future and changed America--and the world--forever. Find out how on 2.22.22 wwnorton.com/books/the-man-… 1/
Born in Budapest in 1903, by the time he died von Neumann was as famous in the USA as Einstein—and considered far sharper. While Einstein’s most famous work was done in Europe, von Neumann’s life in America was richly productive—and influential 2/
Von Neumann ‘felt at home in America from the first day,’ said childhood friend & Nobelist Eugene Wigner. ‘He was a cheerful man, an optimist who loved money and believed firmly in human progress. Such men were far more common in the United States than ... in central Europe.’ 3/
Read 7 tweets
Oct 7, 2021
🅿🆄🅱🅻🅸🅲🅰🆃🅸🅾🅽 🅳🅰🆈!!!🙌👏🙌
To celebrate, a bumper thread about the genius at the centre of my book. RT ░N░O░W░ to spread the word... and for a chance to WIN a signed copy (yes, I’ll post abroad if I need to) 1/
penguin.co.uk/books/313705/t…
This is the story of the 20th century’s foremost forgotten intellectual, a man who was in his day as well-known as Einstein—and considered smarter. Sixty-five years after his death, the impact of von Neumann’s ideas on contemporary life are...without parallel 2/
What did von Neumann do? His contributions to pure maths would fill several books and I’ve touched on some (eg. ergodic theorem, von Neumann algebras). But ‘The Man from the Future’ is really about unpicking one mathematician’s incredible impact on our lives today 3/
Read 16 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(