Andrei Ershov
Abstract
Andrei Ershov (1931–1988) was the leading Soviet software scientist: author of one of the first books on compilers (1958), head of the ALPHA and BETA compiler projects and the AIST-0 time-sharing system at the computing centre of Akademgorodok in Siberia, a pioneer of mixed computation and partial evaluation, and the person who persuaded the Soviet state to teach programming to every ninth-grader from 1985. He called programming “the second literacy.” He was also the most internationally connected Soviet computer scientist of his generation, a friend of John McCarthy, who still had to apply for a separate exit visa for every trip abroad.
Moscow
Ershov was born on 19 April 1931. In the autumn of 1949 he passed the three-stage entrance examination of the physico-technical department of Moscow University. When that department was turned into a closed institute whose students had to be politically reliable, he was moved out: as a child he had lived briefly under German occupation during the war, which made him suspect. In 1950 he transferred to the mathematics faculty, where Sergei Sobolev was setting up a chair of computational mathematics. In 1952 Alexei Lyapunov joined it and began teaching the fundamentals of programming for automatic computers; the collaboration between Lyapunov and Ershov lasted more than a decade. Ershov graduated in 1954 in the first class of university-trained Soviet programmers.
At the Academy of Sciences computing centre in Moscow, where he worked from 1957 to 1960, Ershov wrote “programming programmes”, the Soviet term for compilers, for Lebedev’s BESM and for the Strela (see Soviet and Russian Computing). His book Programming Programme for the BESM Computer (1958, English translation 1959) was one of the world’s first monographs on automatic programming, and in 1958 he published “On Programming of Arithmetic Operations” in the first volume of Communications of the ACM; he also found hashing with linear probing independently of the Americans (see Hashing). The same year he was sent to the Teddington conference on the Mechanisation of Thought Processes in England, his first trip abroad, where he met John McCarthy.
Akademgorodok
From 1960 Ershov worked in Novosibirsk for the Siberian Division of the Academy of Sciences, first at the Institute of Mathematics and from 1963 at the computing centre in Akademgorodok, the research town outside Novosibirsk, led by the numerical analyst Gury Marchuk. He headed its software division and taught at Novosibirsk University from 1961, as a professor from 1968.
His group built ALPHA, an optimizing compiler for an ALGOL-like language whose last version, ALPHA-6, was still in use when his obituary appeared in 1993; he presented it at the IFIP congress of 1965 and in the Journal of the ACM in 1966. BETA followed, a compiler system for several languages with a common internal representation. AIST-0, presented at the Spring Joint Computer Conference in 1967, was the first Soviet time-sharing system. His group also built MRAMOR, a publishing system commissioned by Pravda. In theory he worked on program schemata, memory allocation, and from 1977 on “mixed computation”, the idea of running a program on the part of its input that is already known and producing a specialised program for the rest, which is now called partial evaluation.
McCarthy visited Novosibirsk in 1965, the first Westerner allowed to, and in 1968 spent two months there teaching. Ershov was not allowed to accept the invitation to spend a semester at Stanford in return. Throughout his life every trip abroad needed its own exit visa, which might be refused; he was never allowed to hold a visiting position at a foreign university. He served on IFIP committees, edited Acta Informatica and Information Processing Letters, organised international conferences in Novosibirsk, and arranged Russian translations of important Western computing books. In 1972 Friedrich L. Bauer wrote a children’s book about computers, Andrei und das Untier, set in a town “halfway between Tomsk and Omsk” and illustrated from drawings by Ershov’s son Vasily.
The Second Literacy
In 1972 Ershov published “Aesthetics and the Human Factor in Programming” in Communications of the ACM, an essay on what programming demanded of a person: “the ability of a first-class mathematician for abstraction and logical thinking combined with an Edisonian talent for making anything in the world from a zero and unity,” the accuracy of a bank clerk and the foresight of a scout. At the IFIP World Conference on Computers in Education in Lausanne in July 1981 he gave the keynote “Programming, the Second Literacy,” arguing that everyone would need to program, as everyone had needed to read.
He worked for it at home. His group taught programming to Novosibirsk schoolchildren, ran computer summer camps, and wrote curricula and textbooks; Ershov hosted an educational television series on information processing and argued the case before the government. In 1985, after a meeting with Mikhail Gorbachev, the Akademgorodok curriculum became national policy. From September 1985 every ninth-grader in the Soviet Union took a compulsory course, Basics of Informatics and Computing Technology, from a textbook edited by Ershov and V. M. Monakhov that introduced a teaching algorithmic language of Ershov’s design. The plan called for textbooks in fifteen languages, training for about 100,000 teachers, and a million computers for some 60,000 schools. The computers did not come, and most pupils learned the course without a machine. The youth magazine Tekhnika Molodezhi took up his campaign in 1985 with programming columns for the B3-34 calculator, which millions of Soviet households did own.
Ershov was elected a corresponding member of the Academy of Sciences in 1970 and a full member in 1980, was the first programmer to receive the Academy’s Krylov Prize, received the IFIP Silver Core in 1981, and chaired the Academy’s scientific council on cybernetics. At fifty he began translating English poetry into Russian and then writing poems of his own. He died of cancer in Moscow on 8 December 1988.
Dead End: Literacy Without Machines
The 1985 course was one of the largest attempts anywhere to make programming part of general education, and it foundered on hardware. The Soviet electronics industry could not supply the million school computers the plan required, printing and distributing the textbooks was uneven, and many teachers never received the promised training, so most ninth-graders learned algorithms on paper. Turski’s obituary adds the political context: the campaign began in a country where access to ordinary photocopiers was restricted and controlled. Ershov’s teaching language survived in the KuMir teaching system of 1990, and his papers are kept in the Ershov archive in Novosibirsk.
📚 Sources
- Lee, J. A. N.: “Andrei Petrovich Ershov”, Computer Pioneers, IEEE Computer Society (from Turski 1993) (Moscow University 1949–1954, Sobolev and Lyapunov, Moscow computing centre 1957–1960, Novosibirsk positions, BESM and Strela compilers, Teddington 1958 and McCarthy, McCarthy’s visits 1965 and 1968, exit visas, IFIP and journals, ALPHA, BETA, AIST-0, MRAMOR, mixed computation, Krylov Prize, academy membership 1970 and 1980, Bauer’s Andrei und das Untier, the programmer quotation, school informatics and Gorbachev, poetry, death on 8 December 1988)
- Turski, Władysław: “Obituary: Andrei Ershov”, IEEE Annals of the History of Computing 15(2), 1993
- Ershov, A. P.: “On Programming of Arithmetic Operations”, Communications of the ACM 1(8), 3–6 (1958)
- Yershov, A. P.: “ALPHA—An Automatic Programming System of High Efficiency”, Journal of the ACM 13(1), 17–24 (1966)
- Ershov, A. P.: “Aesthetics and the Human Factor in Programming”, Communications of the ACM 15(7), 501–505 (1972)
- Ershov, Andrei: “Programming, the Second Literacy”, Microprocessing and Microprogramming 8(1), 1–9 (1981)
- Tatarchenko, Ksenia: “How Programmable Calculators and a Sci-Fi Story Brought Soviet Teens Into the Digital Age”, IEEE Spectrum (27 September 2018) (September 1985 course, plan for teachers, computers, and textbooks, lessons without computers, Tekhnika Molodezhi)
- Andrey Yershov, Wikipedia and Учебный алгоритмический язык, Wikipedia (Russian) (finding aids: birth date, Programming Programme for the BESM Computer 1958/1959, Silver Core 1981, the 1985 textbook language, KuMir)
- Andrei Ershov Archive, Novosibirsk