http://research.microsoft.com/en-us/um/people/simonpj/papers/eval-apply/
How to make a fast curry: push/enter vs eval/apply
Simon Marlow and Simon Peyton Jones. Proc International Conference on Functional Programming, Snowbird, Sept 2004, pp4-15.
Abstract
Higher-order languages that encourage currying are typically implemented using one of two basic evaluation models: push/enter or eval/apply. Implementors use their intuition and qualitative judgements to choose one model or the other.Our goal in this paper is to provide, for the first time, a more substantial basis for this choice, based on our qualitative and quantitative experience of implementing both models in a state-of-the-art compiler for Haskell.
Our conclusion is simple, and contradicts our initial intuition: compiled implementations should use eval/apply.'Programming' 카테고리의 다른 글
(Clojure) Invoking Clojure from Java (0) | 2013.03.03 |
---|---|
The Implementation of Lua 5.0 (0) | 2013.03.03 |
(Java) Invoke method using Reflection (0) | 2013.03.02 |
(Clojure) Shebang Scripting in Clojure (0) | 2013.03.02 |
node.js는 무엇인가? #2 : Hello World 실행하기 (0) | 2013.03.01 |