The Culture Codexery

Matter Compilers

A computer science textbook teaching fundamental principles of programming, known as the "Wizard Book" in hacker culture.

Structure and Interpretation of Computer Programs (SICP) is a computer science textbook by Massachusetts Institute of Technology professors Harold Abelson and Gerald Jay Sussman with Julie Sussman. It is known as the "Wizard Book" in hacker culture. It teaches fundamental principles of computer programming, including recursion, abstraction, modularity, and programming language design and implementation. MIT Press published the first edition in 1984, and the second edition in 1996. It was used as the textbook for MIT's introductory course in computer science from 1984 to 2007. SICP focuses on discovering general patterns for solving specific problems, and building software systems that make use of those patterns. MIT Press published a JavaScript version of the book in 2022.

Type
Infrastructure Technology
Affiliation
The Culture
Function
Atomic Assembly and Disassembly
Prevalence
Ubiquitous in Civilised Space
Interface
Neural or Verbal Command
Status
Active and Standard Issue

Verified Timeline

19841986199620072022

Lore & Background

The book describes computer science concepts using Scheme, a dialect of Lisp. It also uses a virtual register machine and assembler to implement Lisp interpreters and compilers. Topics include Building Abstractions with Procedures (The Elements of Programming, Procedures and the Processes They Generate, Formulating Abstractions with Higher-Order Procedures), Building Abstractions with Data (Introduction to Data Abstraction, Hierarchical Data and the Closure Property, Symbolic Data, Multiple Representations for Abstract Data, Systems with Generic Operations), Modularity, Objects, and State (Assignment and Local State, The Environment Model of Evaluation, Modeling with Mutable Data, Concurrency: Time Is of the Essence, Streams), Metalinguistic Abstraction (The Metacircular Evaluator, Variations on a Scheme – Lazy Evaluation, Variations on a Scheme – Nondeterministic Computing, Logic Programming), and Computing with Register Machines (Designing Register Machines, A Register-Machine Simulator, Storage Allocation and Garbage Collection, The Explicit-Control Evaluator, Compilation).

In Their Own Story

Several humorously-named fictional characters appear in the book: Alyssa P. Hacker, a Lisp hacker; Ben Bitdiddle; Cy D. Fect, a "reformed C programmer"; Eva Lu Ator; Lem E. Tweakit; and Louis Reasoner, a "loose reasoner". The book is licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. It was used as the textbook for MIT's former introductory programming course, 6.001, from fall 1984 through its last semester, in fall 2007. Other schools also made use of the book as a course textbook.

Reader's Guide

Byte recommended SICP in 1986 "for professional programmers who are really interested in their profession". The magazine said that the book was not easy to read, but that it would expose experienced programmers to both old and new topics. A review of SICP as an undergraduate textbook by Philip Wadler noted the weaknesses of the Scheme language as an introductory language for a computer science course. Wadler criticized in particular the lack of pattern matching, obscuring equational reasoning and making the teaching of proofs harder; the lack of algebraic data types in Scheme and the over-reliance on cons pairs for both code and data representation, which can confuse beginning students; and the choice of strict instead of lazy evaluation as the standard evaluation strategy. SICP has been influential in computer science education, and several later books have been inspired by its style: Structure and Interpretation of Classical Mechanics (SICM), another book that uses Scheme as an instructional element, by Gerald Jay Sussman and Jack Wisdom; Software Design for Flexibility, by Chris Hanson and Gerald Jay Sussman; How to Design Programs (HtDP), which intends to be a more accessible book for introductory Computer Science, and to address perceived deficiencies in SICP; and Essentials of Programming Languages (EoPL), a book for Programming Languages courses.

Did You Know?

More in Tech & Artifacts

Elsewhere in the The Culture universe

Open in the interactive codex →