The Engineer Factory

Chapter 1. The statistician’s machines (1931-1966)

In February 1959 a small team of physicists and engineers in Bombay (Mumbai since 1995) finished assembling a computer, and then had to stop work on it. The machine stood in the Tata Institute of Fundamental Research (TIFR), which had been working on it since 1955. It held 2,700 vacuum tubes and drew around 18 kilowatts, and the institute had no suitably air-conditioned room in which to run it.1 ‘Unfortunately, owing to the lack of air-conditioning facilities, the work had to be suspended till almost the end of 1959,’ its designer, R. Narasimhan, wrote a few weeks after the machine finally entered service.2 Testing began only in mid-November, with an auxiliary air-conditioning system brought in for the purpose, and the computer was commissioned for routine work in the third week of February 1960.3

The men who built it had learned as they went. When the project began, the team numbered about six, most with a master’s degree in physics and a specialism in electronics. Narasimhan described them in 1999: ‘Except for one member (namely, myself), none had been outside India, and none of the participants in the project, including myself, had any experience in either using a computer or operating one, let alone building one.’4 Their machine would later be named TIFRAC, and Narasimhan would call it ‘the first fullscale electronic digital computer designed, built, and operated in India’.5

A year’s delay for want of an air conditioner is a small story, but it holds much of what follows. India’s first computers were acquired, and in one case built, by a handful of scientists working for the state. They were limited less by ideas than by things that had to be paid for in foreign currency or manufactured at scale: machines, spare parts, cooling, memory. And the most lasting thing they produced was not hardware. It was a small group of people who now knew how computers worked.

The state had already named the value of such people, though not with computers in mind. In March 1958, while the TIFR team was still wiring its machine, the Government of India adopted a Scientific Policy Resolution. It declared that ‘Science and technology can make up for deficiencies in raw materials by providing substitutes, or, indeed, by providing skills which can be exported in return for raw materials.’6 The resolution was about science in general. Beyond it, notes V. Rajaraman, a computer scientist who later wrote a history of Indian computing, ‘there was no government policy on computers’.7 Read with hindsight, though, the sentence describes, decades early, the bargain on which India’s software industry would be built: not machines, but skills, sold abroad in return for what the country lacked.

Two institutions, in two cities, took two different routes to the first computers. In Calcutta (Kolkata since 2001), the Indian Statistical Institute (ISI) bought its machines, first from Britain and then from the Soviet Union. In Bombay, TIFR decided to build one. By the mid-1960s both had arrived at the same place. ISI’s attempt to build a machine of its own failed, and TIFR, having built TIFRAC, chose to buy an American computer to replace it.

Computers before machines

The Indian Statistical Institute was founded in Calcutta in 1931 under Prasanta Chandra Mahalanobis.8 In its early decades the word ‘computer’ meant a person: Mahalanobis designated some of the institute’s statistical staff as computers, and they calculated and tabulated its large sample surveys, beginning with those of the jute crop.9 By late 1951 the institute had two new models of IBM tabulators, the punched-card machines then used for counting and sorting large volumes of records.10

What turned this into a demand for electronic computers was national planning. Mahalanobis helped set up the National Sample Survey in 1950, a continuing household survey that produced data on a scale no team of clerks could tabulate quickly.11 The historian Nikhil Menon argues that the decision to plan India’s economy from the centre, and the ‘explosion of official statistics’ that came with it, provided the justification for the pursuit of computers; ISI’s influence culminated in its effectively authoring the Second Five Year Plan of 1956-61, a plan with an emphasis on heavy industry in the public sector.12 India sought computers for planning and development, not for military use.13 A plan of that size, built from survey data, needed arithmetic that a room of clerks with tabulators could not supply quickly enough. That, more than any interest in the machines themselves, is why a statistician became India’s first buyer of computers.

Mahalanobis first saw an electronic computer at Harvard in 1947.14 By 1953 ISI’s computing laboratory, opened three years earlier under the engineer S.K. Mitra, had built an analogue computer from Second World War surplus parts that could solve simultaneous linear equations in up to ten variables.15 An analogue machine represents numbers as physical quantities such as voltages, rather than as digits, and it could not do the general-purpose arithmetic that planning required. Mahalanobis suspected that it would not be adequate.16 He wanted a digital computer, and India could not make one.

A Cold War shopping trip

For four years Mahalanobis tried to buy an American machine. Between 1950 and 1954 he held informal talks in Washington about acquiring a UNIVAC, a machine famous in American popular culture, on which he had been fixed since the 1940s; the best American machines would cost a million dollars.17 The talks failed. One reason, Menon found, was a secret dispatch sent from the US Embassy in Delhi to the State Department in 1953, which described Mahalanobis as a Soviet sympathiser.18

He turned east. In February 1954, at a lunch hosted by Prime Minister Jawaharlal Nehru, Mahalanobis pressed the Soviet ambassador, Mikhail Menshikov, for help with a computer, arguing in effect that the Soviet Union could hardly object to sharing what the Americans already knew.19 That spring and summer he travelled through Geneva, London and Prague to Moscow, writing about computers to his colleague Pitambar Pant as he went.20 In Moscow he, Mitra and a delegation of Indian scientists visited the Institute of Precision Mechanics and Computer Engineering, which was building a computer with the backing of Nikita Khrushchev, and Mahalanobis persuaded the Soviet authorities to supply India with a machine.21 Some eight months after the Menshikov meeting, according to Kris Gopalakrishnan and his co-authors, the Soviet Union and the United Nations agreed to fund India’s purchase of a digital computer, which they identify as the British HEC-2M.22

A computer without support

The first electronic digital computer to work in India was British, and it came on hard terms. Mahalanobis ordered it from the British Tabulating Machine Company (BTM), which sold keypunches, sorters and mechanical calculators in India. ‘BTM agreed to sell a computer to the ISI in 1954 though without any technical support,’ Rajaraman writes. ‘The ISI was to install and maintain the machine using its own scientists and engineers.’23 BTM would not install and maintain a single machine in India, he later explained, since only one was coming to the country.24

So ISI sent two engineers, Mohi (Monimohan) Mukherjee and Amresh Roy, to England in December 1954 to watch the machine being made. The Hollerith Electronic Computer Model 2M had been designed by A.D. Booth at Birkbeck College in London and was assembled in BTM’s workshop, and the two men gathered there the knowledge they would need to install and keep it running.25 It cost 18,500 pounds sterling, paid by the Government of India, which lent it to ISI.26 It reached Calcutta in 1955 or early 1956.27 Its memory, a rotating magnetic drum, held 1,024 words, and it had to be programmed in binary machine code through punched cards.28 ‘Around a dozen people learnt to program the computer which was used for some statistical calculations,’ Rajaraman writes.29 It also handled requests from the Planning Commission, the National Sample Survey and other scientific institutions, and, in his words, it ‘was found to be a very difficult machine to use’.30

The dozen people who learned to program it make up most of India’s computing profession in the mid-1950s. ‘In 1955 only a few dozen scientists and engineers in India knew about computers,’ Rajaraman writes.31 There were no courses to take. What they knew came from watching machines being assembled abroad and from operating manuals.

The URAL and the Russian manuals

Mahalanobis started looking for a second machine, and the obstacle was money from abroad. It was difficult to get funds, Rajaraman notes, ‘particularly foreign exchange funds’.32 A computer had to be paid for in dollars or pounds, not rupees. The solution again came from the Soviet side. A URAL-1, a first-generation vacuum-tube machine that could perform about 12,000 operations a second, was ordered in 1958 with United Nations assistance.33 Eight Russian engineers installed it.34 ‘All the manuals were in Russian and the ISI engineers learnt Russian to enable them to maintain the machine,’ Rajaraman writes.35 When it was unveiled in Calcutta in December 1958, the Times of India reported that it could calculate 600 times faster than a single man.36

With two working computers and a group of people who could program and maintain them, ISI was, in Rajaraman’s phrase, ‘the de-facto National Computer Centre’ of India in 1958.37 Its users included universities, the atomic energy establishment and defence laboratories, among them Andhra University, the Indian Institute of Science in Bangalore (Bengaluru since 2014), the Indian Institute of Technology (IIT) at Kharagpur and TIFR.38 India had taken a British machine with no support and a Soviet one with eight engineers and Russian manuals, because its attempt to obtain the American machine it wanted had been hampered by Cold War suspicion. Non-alignment allowed it to buy from both sides, but on terms the sellers set.

Expertise was so thin that Mahalanobis went looking for it in odd places. In February 1959 Morton Nadler, a 37-year-old American engineer, flew from Prague to Calcutta to take a two-year contract at ISI.39 Nadler, who had joined the Communist Party in 1936 and renounced his US citizenship after the American embassy seized his passport in 1950, had worked at Czechoslovakia’s Institute of Mathematical Machines and, by Menon’s account, was under suspicion of espionage by both the American and the Czechoslovak authorities. Disillusioned with communism, he could neither leave Czechoslovakia easily nor go home, and Mahalanobis’s offer gave him a way out.40 His lectures at ISI in the spring of 1959 became a book, Topics in Engineering Logic, and in 1960 he left for the French computer maker Bull.41

Bombay decides to build

The physicist Homi Bhabha founded TIFR in Bombay in 1945.42 Computing work began there in 1954, and towards the end of that year TIFR decided, as Narasimhan put it, ‘to design and build a fullscale, general purpose, electronic digital computer using contemporary technology’.43 Narasimhan led the project, with Bhabha’s ‘acceptance and active support’.44 He had an engineering degree from the College of Engineering, Guindy, in Madras (Chennai since 1996), and had spent 1948 to 1954 in the United States on a part-loan scholarship from the J.N. Tata Endowment.45 With no one who had built a computer, the team worked in two stages: first a small pilot machine, to try out circuit and logic designs and to train the team on the job, and then a full-scale computer.46

The pilot was completed in 1956 and kept running for about a year.47 Design of the full-scale machine began early in 1957, and its final assembly was completed in February 1959.48 It was a stored-program machine with a memory of 1,024 forty-bit words held in ferrite cores, tiny magnetic rings that each stored one bit, and it could add two numbers in 45 microseconds.49 The team made that memory with their own hands. P.V.S. Rao, a member of TIFR’s computer group, described how they strung the matrix together themselves, threading hair-thin enamelled wire through magnetic cores less than a millimetre across, held in Plexiglass frames.50

They did not work entirely alone. ‘The TIFRAC control logic design benefited crucially through design details kindly made available by the ILLIAC team,’ Narasimhan wrote in 1999, referring to the computer group at the University of Illinois.51 Mahalanobis could not buy an American computer in Washington; Narasimhan was given American design details, scientist to scientist.

A name, and a verdict

The machine entered routine service in February 1960, and when Nehru inaugurated TIFR’s new building in 1962, he named it TIFRAC.52 It ran until early 1964, by the end working two shifts a day.53 Its users were TIFR’s own scientists, the Atomic Energy Establishment and some universities, and the analysis of TIFR’s cosmic-ray air-shower experiments, Narasimhan wrote, would not have been feasible without it.54 Its storage was too small to attempt a compiler, the program that translates instructions written in a human-readable language into machine code.55

Narasimhan’s judgement of his own machine was unsentimental. The pilot, he wrote in 1999, had been close to the state of the art in 1954, and the 1957 design not very far behind it. But by the time it was commissioned in 1960, TIFRAC was ‘an obsolete first generation machine’.56 The second generation of computers, built with transistors, needed production know-how that only large manufacturers had.57 A research institute could build one machine. It could not build the next generation, and it could not build many.

What TIFRAC left behind was people. The computer section had grown from about half a dozen members to some two dozen, with a ‘hard core of specialists’ who could design digital equipment and a group that had learned to maintain complex electronic systems.58 And, in Narasimhan’s words, ‘many of the computer users in India, handling sophisticated and advanced computational techniques, had their first introduction to programming through the use of TIFRAC.’59

The first to leave

Some of those people left. Between 1959 and 1962 about half a dozen of the scientists who had designed and built TIFRAC took visiting appointments at American universities. Three of them settled permanently in the United States; others came back.60 Narasimhan himself spent the early 1960s as a visiting scientist at the Digital Computer Laboratory of the University of Illinois.61 Three people are not a brain drain. But the pattern would recur at much larger scale. India trained engineers at public expense, often on projects that could not employ them for long, and the United States offered the next stage of their careers.

From building to buying

The engineers who went to America also helped TIFR decide what to do next. Because some of its staff now knew American machines at first hand, TIFR could set up an expert committee, chaired by Narasimhan, to compare the large commercial systems on offer. It recommended the CDC 3600, of which only one was then in operation, at its maker’s plant in Minneapolis.62 Rajaraman calls it ‘a bold decision’.63 The machine was bought for $1.5 million, with funds from the United States Agency for International Development that Bhabha persuaded the Government of India to arrange.64 Installed in mid-1964, it ran from October that year as a National Computation Centre, maintained and operated by TIFR staff once the manufacturer’s early support ended, and over 150 institutions from across India used it for more than a decade.65 In the first year users had the machine free of charge. The only demand on them was that they write and debug their own programs, and to help them TIFR’s staff programmers ran ‘many short courses on programming’.66

So the institute that had built India’s first computer bought an American one with American aid money, on the recommendation of the man who had led the building. Narasimhan saw no contradiction. Once second-generation machines required production know-how that only large manufacturers had, he judged, TIFR was ‘wise’ to look to the world market.67

The end of building, for now

ISI tried once more. In the early 1960s it set out to build a transistorised computer jointly with Jadavpur University in Calcutta. The machine, called ISIJU, was completed in 1966, but in Rajaraman’s words ‘It was not a successful project as the computer was unreliable and did not have appropriate software.’68 Menon counts 15 digital computers in India by the end of 1964.69 The state still had no policy on computers; a national committee on electronics was appointed only in 1963, under Bhabha, after the 1962 war with China.70 In the autumn of 1965 the Planning Commission opened its own computer centre in Delhi, an IBM 1620 bought with a Ford Foundation grant of Rs 2.3 million (about $462,000), run ‘open shop’ for outside users.71 The planners who had once queued for time on ISI’s machines now had one of their own, made by IBM.

Two explanations

Why did these beginnings not lead to an Indian computer industry? Narasimhan’s answer was the economics of manufacturing: a research group could build a first-generation machine, but only large manufacturers could build the second generation, and build it in numbers.72 A different answer comes from Dwaipayan Banerjee of the Massachusetts Institute of Technology, in Computing in the Age of Decolonization (2026). As its publisher and reviewers describe it, the book argues that India’s attempt to build a self-reliant computing industry was blocked, chiefly from outside, by Cold War politics, trade imbalances and the monopolies of American corporations, and also by the preference of India’s technocratic elite for profitable technical services; Angela Saini quotes its judgement that by the mid-1960s IBM’s dominance of Indian computing was ‘nearly absolute’.73 Tracie Farrell reports that it contrasts IBM with Control Data, the maker of TIFR’s CDC 3600, which in the book’s words, as she quotes them, was ‘treating Indian researchers as peers’.74 The record of the 1950s fits parts of both answers.

Coda: from building machines to teaching people

By 1966 the experiment of the 1950s had reached its end. ISI’s own machine had failed, TIFRAC had been retired, and the best computer in the country was American. What remained was the people who had learned their trade on TIFRAC and the URAL, and the users who had learned to write their own programs on the CDC 3600. The resolution of 1958 had spoken of skills that could be exported in return for what India lacked. In 1966 nothing was being exported, but the one thing India’s first computers had reliably produced was exactly those skills. The country had learned that it could make computer people more easily than it could make computers.

The next step was to train more of them, in classrooms rather than workshops. Chapter 2 tells how a new campus at Kanpur, in Uttar Pradesh, became the place where India first taught computing as a subject, and where the engineer factory began.