Lambda, the ultimate label or a simple optimizing compiler for Scheme
William Clinger, Lars Thomas Hansen · ACM SIGPLAN Lisp Pointers · 1994
Optimizing compilers for higher-order languages need not be terribly complex. The problems created by non-local, non-global variables can be eliminated by allocating all such variables in the heap. Lambda lifting makes this practical by eliminating all non-local variables except for those that would have to be allocated in the heap anyway. The eliminated non-local variables become local variables that can be allocated in registers. Since calls to known procedures are just gotos that pass arguments, lifted lambda expressions are just assembly language labels that have been augmented by a list of symbolic names for the registers that are live at that label.
Cited by 14 works. doi:10.1145/182590.156786
Authors
References
- Cambridge University Press
- A new implementation technique for applicative languages
- Revised 4 report on the algorithmic language scheme
- A compiler for lazy ML
- Debunking the “expensive procedure call” myth or, procedure call implementations considered harmful or, LAMBDA
- ORBIT: an optimizing compiler for scheme
- Macros that work
- The scheme 311 compiler an exercise in denotational semantics
- Implementation strategies for continuations
- Selective and lightweight closure conversion