首页> 外文会议>International Symposium on Trends in Functional Programming >Concurrent System Programming with Effect Handlers
【24h】

Concurrent System Programming with Effect Handlers

机译:用效果处理程序进行并发系统编程

获取原文

摘要

Algebraic effects and their handlers have been steadily gaining attention as a programming language feature for composably expressing user-defined computational effects. While several prototype implementations of languages incorporating algebraic effects exist, Multicore OCaml incorporates effect handlers as the primary means of expressing concurrency in the language. In this paper, we make the observation that effect handlers can elegantly express particularly difficult programs that combine system programming and concurrency without compromising performance. Our experimental results on a highly concurrent and scalable web server demonstrate that effect handlers perform on par with highly optimised monadic concurrency libraries, while retaining the simplicity of direct-style code.
机译:代数效应及其处理程序一直在稳步地获得关注,作为编程语言特征,用于合作表达用户定义的计算效果。虽然存在包含代数效果的语言的几种原型实现,但Multicore OCAML将效果处理程序包含作为表达语言并发的主要手段。在本文中,我们使效果处理程序可以优雅地表达特别困难的程序,这些程序将系统编程和并发性结合而不会损害性能。我们在高度并发和可伸缩的Web服务器上的实验结果表明,效果处理程序与高度优化的Monadic Concrurency库进行执行,同时保留直接式代码的简单性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号