Compiling lazy functional programs for the Java Virtual Machine
David Wakeling · Journal of Functional Programming · 1999
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.
Cited by 16 works. doi:10.1017/s0956796899003603 Open-access PDF
Authors
References
- Rabbit: A Compiler for Scheme
- Introduction to functional programming
- The Implementation of Functional Programming Languages (Prentice-hall International Series in Computer Science)
- picoJava-I: the Java virtual machine in hardware
- The nofib Benchmark Suite of Haskell Programs
- Compiling standard ML to Java bytecodes
- Heap profiling of lazy functional programs
- Parallel graph reduction with the (v , G)-machine
- Tail recursion without space leaks
- Compiling standard ML to Java bytecodes