Hostname: page-component-74d7c59bfc-b9mx5 Total loading time: 0 Render date: 2026-01-30T02:13:12.042Z 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)

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.

Information

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

Discussions

No Discussions have been published for this article.