ComputingComputer ScienceAlgorithmsCompilersProgramming LanguagesAbstract Syntax TreesCode GenerationCompiler ConstructionControl-flow AnalysisData-flow AnalysisFunctional ProgrammingAbstractionCompiler SupportHigher-order FunctionsLambda CalculusSeparate CompilationSeparate Compilation Support
We describe an algorithm for automatic inline expansion across module boundaries that works in the presence of higher-order functions and free variables; it rearranges bindings and scopes as necessary to move nonexpansive code from one module to another. We describe---and implement---the algorithm as transformations on λ-calculus. Our inliner interacts well with separate compilation and is efficient, robust, and practical enough for everyday use in the SML/NJ compiler. Inlining improves performance by 4--8% on existing code, and makes it possible to use much more data abstraction by consistently eliminating penalties for modularity.
22
The implementation of functional programming languages
Microprocessors and Microsystems · 1987 · 1.1K citations
The essence of compiling with continuations
Cormac Flanagan, Amr Sabry, Bruce F. Duba et al. · 1993 · 533 citations
Jr. Guy L. Steele · DSpace@MIT (Massachusetts Institute of Technology) · 1978 · 404 citations · Full text
David Tarditi, Greg Morrisett, Pau-Chen Cheng et al. · 1996 · 316 citations · Full text
Compiling polymorphism using intensional type analysis
Robert Harper, Greg Morrisett · 1995 · 298 citations · Full text