Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. Artificial Intelligence Lab Publications
  4. AI Memos (1959 - 2004)
  5. The Dream of a Lifetime: A Lazy Scoping Mechanism

The Dream of a Lifetime: A Lazy Scoping Mechanism

Thumbnail Image
Download
Name

AIM-527.pdf

Size

8.1 MB

Format

Adobe PDF

Checksum (MD5)

32c37241b0437f75b7e5ce5cb36a3b64

Thumbnail Image
Download
Name

AIM-527.ps

Size

10.51 MB

Format

PostScript

Checksum (MD5)

3543f62d6e6509ac2fbb2425d84d57ae

Author(s)
Steele, Guy Lewis, Jr.
•
Sussman, Gerald Jay
Date Issued
November 1, 1979
Series/Report no.
AIM-527
Abstract
We define a "rack", a data abstraction hybrid of a register and a stack. It is used for encapsulating the behavior of the kind of register whose contents may have an extent which requires that it be saved during the execution of an unknown piece of code. A rack can be implemented cleverly to achieve performance benefits over the usual implementation of a stack discipline. The basic idea is that we interpose a state machine controller between the rack abstraction and its stack/registers. This controller can act as an on-the-fly run-time peephole optimizer, eliding unnecessary stack operations. We demonstrate the sorts of savings one might expect by using cleverly implemented racks in the context of a particular caller-saves implementation of an interpreter for the SCHEME dialect of LISP. For sample problems we can expect that only one out of every four pushes that would be done by a conventional machine will be done by a clever version.
Persistent DSpace Link
http://hdl.handle.net/1721.1/5725
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.