Compiling without continuations
Luke Maurer, Paul Downen, Zena M. Ariola et al. · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2017
Many fields of study in compilers give rise to the concept of a join point—a place where different execution paths come together. Join points are often treated as functions or continuations, but we believe it is time to study them in their own right. We show that adding join points to a direct-style functional intermediate language is a simple but powerful change that allows new optimizations to be performed, including a significant improvement to list fusion. Finally, we report on recent work on adding join points to the intermediate language of the Glasgow Haskell Compiler.
Cited by 36 works. doi:10.1145/3062341.3062380
Authors
References
- Efficiently computing static single assignment form and the control dependence graph
- Rabbit: A Compiler for Scheme
- Compiling with Continuations
- The revised report on the syntactic theories of sequential control and state
- The essence of compiling with continuations
- System F with type equality coercions
- A transformation-based optimiser for Haskell
- SSA is functional programming
- Playing by the rules: rewriting as a practical optimisation technique in GHC
- Stream fusion