首页> 外文期刊>Journal of Functional Programming >Making a fast curry: push/enter vs. eval/apply for higher-order languages
【24h】

Making a fast curry: push/enter vs. eval/apply for higher-order languages

机译:快速咖喱:推/输入与评估/适用于高阶语言

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

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.
机译:通常,使用两种基本评估模型之一来实现鼓励使用curring的高阶语言:push / enter或eval / apply。实施者使用自己的直觉和定性判断来选择一种或另一种模型。本文的目标是,根据我们在Haskell的最新编译器中实现这两种模型的定性和定量经验,这是首次为这种选择提供更坚实的基础。我们的结论很简单,并且与我们的最初直觉相矛盾:已编译的实现应使用eval / apply。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号