Compiling scheme to JVM bytecode:
Bernard Serpette, Manuel Serrano · ACM SIGPLAN International Conference on Functional Programming (ICFP) · 2002
We have added a Java virtual machine (henceforth JVM) bytecode generator to the optimizing Scheme-to-C compiler Bigloo. We named this new compiler BiglooJVM. We have used this new compiler to evaluate how suitable the JVM bytecode is as a target for compiling strict functional languages such as Scheme. In this paper, we focus on the performance issue. We have measured the execution time of many Scheme programs when compiled to C and when compiled to JVM. We found that for each benchmark, at least one of our hardware platforms ran the BiglooJVM version in less than twice the time taken by the Bigloo version. In order to deliver fast programs the generated JVM bytecode must be carefully crafted in order to benefit from the speedup of just-in-time compilers.
Cited by 15 works. doi:10.1145/581478.581503
Authors
References
- Compilers: Principles, Techniques, and Tools
- Report on the Algorithmic Language
- Garbage collection in an uncooperative environment
- Revised5 Report on the Algorithmic Language Scheme
- Control flow analysis in scheme
- Adaptive optimization in the Jalapeno JVM
- Fast, effective code generation in a just-in-time Java compiler
- Adaptive optimization for self: reconciling high performance with exploratory programming
- Unboxed objects and polymorphic typing
- Control flow analysis in scheme