ACM Home Page
Please provide us with feedback. Feedback
The spineless G-machine
Full text PdfPdf (1.40 MB)
Source Conference on LISP and Functional Programming archive
Proceedings of the 1988 ACM conference on LISP and functional programming table of contents
Snowbird, Utah, United States
Pages: 244 - 258  
Year of Publication: 1988
ISBN:0-89791-273-X
Authors
G. L. Burn  GEC Hirst Research Centre, East Lane, Wembley, Middx HA9 7PP, United Kingdom
S. L. Peyton Jones  Department of Computer Science, University College London, Gower Street, London WC1E 6BT, United Kingdom
J. D. Robson  GEC Hirst Research Centre, East Lane, Wembley, Middx HA9 7PP, United Kingdom
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 31,   Citation Count: 14
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/62678.62717
What is a DOI?

ABSTRACT

Recent developments in functional language implementations have resulted in the G-machine, a programmed graph-reduction machine. Taking this as a basis, we introduce an optimised method of performing graph reduction, which does not need to build the spine of the expression being reduced. This Spineless G-machine only updates shared expressions, and then only when they have been reduced to weak head normal form. It is thus more efficient than the standard method of performing graph reduction. We begin by outlining the philosophy and key features of the Spineless G-machine, and comparing it with the standard G-machine. Simulation results for the two machines are then presented and discussed. The Spineless G-machine is also compared with Tim, giving a series of transformations by which they can be interconverted. These open up a wide design space for abstract graph reduction machines, which was previously unknown. A full specification of the spineless machine is given in the appendix, together with compilation rules for a simple functional language.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Augustsson, L., Compiling Lazy Functional Languages, Part II PhD Thesis, Department of Computer Sciences, Chalmers University of Technology, 1!}87.
 
2
Bum, G.L., Hankin, C.L., and Abramsky, S., Strictness Analysis for Higher-Order Functions, Science of Computer Programming, 7, November 1986, pp.249-278.
3
 
4
 
5
 
6
 
7
Hudak, P., and Young, J., A Set-Theoretic Characterisation of Function Strictness in the Lambda Calculus, Research Report YALEU/DCS/RR-391, Department of Computer Science, Yale University, 1985, Also presented at the Workshop on Abstract Interpretation, University of Kent at Canterbury, August, 1985.
 
8
Hughes, J., The Design and Implementation of Programming Languages, PhD Thesis, Oxford University, 1983. (Published as Oxford University Computing Laboratory, Progranuning Research Group, Technical Monograph PRG-40, September, 1984.)
 
9
 
10
lohnsson, T., Compiling Lazy Functional Languages, PhD Thesis, Department of Computer Sciences, Chalmers University of Technology, 1987.
 
11
Mycroft, A., Abstract Interpretation and Optimising Transformations for Applicative Programs, PhD. Thesis, University of Edinburgh, 1981.
 
12
 
13
Peyton Jones, S.L., The tag is dead - long live the packet, Distributed on the fp mailboard, 22nd October, 1987.
 
14
Turner, D.A., A New Implementation Technique for Applicative Languages, Software Practice and Experience 9, 1979, pp. 31-49.
 
15
Wadler, P., Strictness Analysis on Non-Flat Domains (by Abstract Interpretation over Finite Domains), in Abramsky, S., and Ha.nkirh C., (eds), Abstract .Interpretation of Declarative Languages, Ellis Horwood, 1987. (Originally distributed on the FP mailboard November, 1985.)

CITED BY  14

Collaborative Colleagues:
G. L. Burn: colleagues
S. L. Peyton Jones: colleagues
J. D. Robson: colleagues

Peer to Peer - Readers of this Article have also read: