...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Implementing First-Class Polymorphic Delimited Continuations by a Type-Directed Selective CPS-Transform
【24h】

Implementing First-Class Polymorphic Delimited Continuations by a Type-Directed Selective CPS-Transform

机译:通过类型定向的选择性CPS变换实现一流的多态定界连续

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

We describe the implementation of first-class polymorphic delimited continuations in the programming language Scala. We use Scala's pluggable typing architecture to implement a simple type and effect system, which discriminates expressions with control effects from those without and accurately tracks answer type modification incurred by control effects. To tackle the problem of implementing first-class continuations under the adverse conditions brought upon by the Java VM, we employ a selective CPS transform, which is driven entirely by effect-annotated types and leaves pure code in direct style. Benchmarks indicate that this high-level approach performs competitively.
机译:我们用编程语言Scala描述了一流的多态定界延续的实现。我们使用Scala的可插入键入体系结构来实现简单的类型和效果系统,该系统将具有控制效果的表达式与没有控制效果的表达式区分开,并准确跟踪控制效果引起的答案类型修改。为了解决在Java VM带来的不利条件下实现一流连续性的问题,我们采用了选择性CPS转换,该转换完全由效果注释类型驱动,并以直接样式保留纯代码。基准表明,这种高级方法具有竞争优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号