Unboxed objects and polymorphic typing
Xavier Leroy · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 1992
This paper presents a program transformation that allows languages with polymorphic typing (e.g. ML) to be implemented with unboxed, multi-word data representations. The transformation introduces coercions between various representations, based on a typing derivation. A prototype ML compiler utilizing this transformation demonstrates important speedups.
Cited by 223 works. doi:10.1145/143165.143205 Open-access PDF
References
- Compilers: Principles, Techniques, and Tools
- The Definition of Standard ML
- On understanding types, data abstraction, and polymorphism
- Programming in Modula-2
- Principal type-schemes for functional programs
- MIPS RISC architecture
- Compiling with Continuations
- The categorical abstract machine
- Register allocation by priority-based coloring
- Type inference for polymorphic references