首页> 外文会议>Practical aspects of declarative languages >Joinads: A Retargetable Control-Flow Construct for Reactive, Parallel and Concurrent Programming
【24h】

Joinads: A Retargetable Control-Flow Construct for Reactive, Parallel and Concurrent Programming

机译:Joinads:用于反应式,并行和并发编程的可重定位控制流构造

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

摘要

Modern challenges led to a design of a wide range of programming models for reactive, parallel and concurrent programming, but these are often difficult to encode in general purpose languages. We present an abstract type of computations called joinads together with a syntactic language extension that aims to make it easier to use joinads in modern functional languages. Our extension generalizes pattern matching to work on abstract computations. It keeps a familiar syntax and semantics of pattern matching making it easy to reason about code, even in a non-standard programming model. We demonstrate our extension using three important programming models - a reactive model based on events; a concurrent model based on join calculus and a parallel model using futures. All three models are implemented as libraries that benefit from our syntactic extension. This makes them easier to use and also opens space for exploring new useful programming models.
机译:现代的挑战导致设计了用于响应式,并行和并发编程的各种编程模型,但是这些模型通常很难用通用语言进行编码。我们提出一种称为joinads的抽象计算类型,以及一种句法语言扩展,旨在使在现代功能语言中更轻松地使用joinads。我们的扩展概括了模式匹配以用于抽象计算。它保留了模式匹配的语法和语义,即使在非标准编程模型中,也可以轻松推理代码。我们使用三个重要的编程模型来演示我们的扩展-基于事件的反应模型;基于联接演算的并发模型和使用期货的并行模型。所有这三个模型都作为受益于我们语法扩展的库而实现。这使它们更易于使用,也为探索新的有用编程模型提供了空间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号