Loading...
Please wait, while we are loading the content...
Similar Documents
CLOStrophobia: its etiology and treatment
| Content Provider | ACM Digital Library |
|---|---|
| Author | Baker, Henry G. |
| Abstract | The Common Lisp Object System (CLOS) has received some praise and some criticism, both deserved. One of the most controversial features of standard CLOS is its linearly-ordered "class precedence list", which is used to linearly order the execution of its "combination" methods. In addition to the problems already known regarding the linear ordering of superclasses, we show that the standard CLOS class precedence ordering produces gratuitously complex and non-intuitive behavior. We then show that a slight modification of the standard ordering rules produces a linear ordering which can achieve most of the goals of CLOS more efficiently, and without impacting most programs. We describe a subset of CLOS called Static CLOS which preserves much of the praise due CLOS, while eliminating some of the criticism. Static CLOS is tuned for delivery of debugged code, rather than for prototype development. This "delivery" CLOS determines as many methods as possible at compile-time using "type inference" techniques. While these techniques generally result in faster-executing code, the space requirements can grow quite large. We argue that this space explosion can be partially ameliorated through the use of our modified class precedence ordering. |
| Starting Page | 4 |
| Ending Page | 15 |
| Page Count | 12 |
| File Format | |
| ISSN | 10556400 |
| DOI | 10.1145/126983.126984 |
| Journal | ACM SIGPLAN OOPS Messenger (OOPS) |
| Volume Number | 2 |
| Issue Number | 4 |
| Language | English |
| Publisher | Association for Computing Machinery (ACM) |
| Publisher Date | 1991-07-01 |
| Publisher Place | New York |
| Access Restriction | One Nation One Subscription (ONOS) |
| Content Type | Text |
| Resource Type | Article |