Simula

term

programming

Kept in this browser · My desk

The simulation language of Kristen Nygaard and Ole-Johan Dahl at the Norwegian Computing Center: Simula I (compiler 1964) and Simula 67, the first language with classes, objects and subclasses.

Preparing Simula 67 for the Lysebu conference of 22 to 26 May 1967, its designers introduced class prefixing and "the more neutral word 'object' as a technical term".

What it is. Simula is the simulation language that Kristen Nygaard and Ole-Johan Dahl developed at the Norwegian Computing Center (NCC) in Oslo, first as Simula I, a language for describing systems of interacting processes, and then as Simula 67, a general-purpose language and the first with classes, objects, subclasses and virtual procedures. It was built on Algol 60, as the title of Dahl and Nygaard's paper in the Communications of the Association for Computing Machinery (ACM) of September 1966 says, SIMULA: An Algol Based Simulation Language, and its classes and prefixing (inheritance) became the core of object-oriented programming.

How it started. Nygaard and Dahl's own history, The Development of the SIMULA Languages (History of Programming Languages conference, 1978), says the ideas originated at the NCC in the spring of 1961, and that the first written reference is a letter of 5 January 1962 from Nygaard to the French operational research specialist Charles Salzmann. In May 1962 Nygaard joined a UNIVAC sales tour of the United States; the NCC acquired a UNIVAC 1107 in August 1963 together with a software contract, and the Simula I compiler was written on it from March to December 1964, the paper recording it complete in January 1965.

The people. Kristen Nygaard, born in Oslo in 1926, worked at the Norwegian Defence Research Establishment from 1948 to 1960, heading its operational research groups, and became director of research at the NCC in 1962; after Simula he worked with the Norwegian trade unions on planning, control and data processing, and designed the languages DELTA and BETA. Ole-Johan Dahl, born on 12 October 1931 in Mandal, worked at the Norwegian Defence Research Establishment from 1952 to 1963 and at the NCC from 1963 to 1968, then became professor of computer science at the University of Oslo, where he helped build the discipline; he died on 29 June 2002. The two shared the ACM A.M. Turing Award for 2001, and Dahl also received the John von Neumann Medal of the Institute of Electrical and Electronics Engineers (IEEE); the University of Oslo's tribute adds that he was made Commander of the Order of St. Olav in 2000.

From Simula I to Simula 67. The decisive idea, prefixing, "came suddenly" in December 1966, while the designers were trying to adapt Tony Hoare's record class construct to their needs; they were thinking of a toll booth on a bridge with a queue of cars. Preparing Simula 67 for the Lysebu conference of 22 to 26 May 1967, they introduced class prefixing and "the more neutral word 'object' as a technical term". A class could also act as a coroutine, so that objects ran in pseudo-parallel, which is what a simulation of customers, clerks and queues needed.

What it gave C++. Bjarne Stroustrup's history of C++ opens with Simula: C++ "was designed to provide Simula's facilities for program organization together with C's efficiency and flexibility for systems programming". At Cambridge he had written a simulator in Simula on the university's IBM 360/165 and found that "The class concept allowed me to map my application concepts into the language constructs in a direct way", and that classes acting as coroutines made concurrency easy to express. Alan Kay counts Simula among the formative conceptions of the 1960s behind Smalltalk.

What went wrong. The same project showed Simula's weakness. "The implementation of Simula, however, did not scale in the same way and as a result the whole project came close to disaster", Stroustrup wrote; he concluded that the implementation, as opposed to the language, was geared to relatively small programs, and, to save the project, he rewrote the simulator in BCPL, an experience he called "horrible", since BCPL provides "absolutely no type checking or run-time support". C++ was his answer: Simula's organization without its run-time cost. The designers themselves liked to quote a story about why the work happened in Europe: "We have to locate the project in Europe since in the US it is not possible to put together a sufficiently small team."

Neighbours. Simula descends from ALGOL, gave classes and objects to C++ and, through Kay's reading of it, to Smalltalk, and is the starting point of the object-oriented programming paradigm. Brazilian practice says Simula.

Also known as: simula 67, simula i

Sources

← Back to S Back to the glossary