Hostname: page-component-8448b6f56d-sxzjt Total loading time: 0 Render date: 2024-04-24T03:05:13.260Z Has data issue: false hasContentIssue false

Compiling lazy functional programs for the Java Virtual Machine

Published online by Cambridge University Press:  01 November 1999

DAVID WAKELING
Affiliation:
School of Engineering and Computer Science, University of Exeter, Exeter EX4 4PT, UK (web: http://www.dcs.exeter.ac.uk/˜david)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

In this paper, we show how lazy functional programs can be compiled for the Java Virtual Machine using a mapping between a version of the 〈v, G〉-machine and the Java Virtual Machine. This mapping is elegant – the description is entirely straightforward – and efficient – using it, both code size and execution speed are of the same order of magnitude as those obtained with a traditional functional language bytecode interpreter. In future, our work could serve as the basis of an interface between Haskell and Java.

Type
Research Article
Copyright
© 1999 Cambridge University Press
Submit a response

Discussions

No Discussions have been published for this article.