首页> 外文学位 >The Theory and Practice of Causal Commutative Arrows.
【24h】

The Theory and Practice of Causal Commutative Arrows.

机译:因果可换箭的理论与实践。

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

摘要

Arrows are a popular form of abstract computation. Being more general than monads, they are more broadly applicable, and in particular are a good abstraction for signal processing and dataflow computations. Most notably, arrows form the basis for Yampa, a functional reactive programming (FRP) language embedded in Haskell. Our primary interest is in better understanding the class of abstract computations captured by Yampa. Unfortunately, arrows are not concrete enough to do this with precision for the lack of a domain specific knowledge.;In this thesis, we present a more constrained class of arrows called causal commutative arrows (CCA) that introduces an init operator to capture the causal nature of arrow effects, as well as two additional laws. Our key contribution is the identification of a normal form for CCA, and by defining a normalization procedure we have developed an optimization strategy that yields dramatic improvements in performance over conventional implementations of arrows.;To study this abstract class of computation more concretely, we explore three different and yet related applications of CCA, namely, synchronous dataflow, ordinary differential equation, and functional reactive programming. For each application, we develop an arrow based DSL that is an instance of CCA, and we show their significant advantages at improving program's run-time behavior, such as eliminating hideous space leaks, and boosting performances by orders of magnitude.
机译:箭头是抽象计算的一种流行形式。它们比monad更通用,因此适用范围更广,尤其是信号处理和数据流计算的良好抽象。最值得注意的是,箭头构成了Yampa的基础,Yampa是Haskell中嵌入的一种功能性反应式编程(FRP)语言。我们的主要兴趣是更好地理解Yampa捕获的抽象计算的类。不幸的是,由于缺乏领域特定知识,箭头还不够具体,无法精确地完成此工作。在本文中,我们提出了一种更受限制的箭头类,称为因果可交换箭头(CCA),它引入了一个init运算符来捕获因果箭头效果的性质以及另外两个定律。我们的主要贡献是识别CCA的正常形式,并通过定义规范化过程,我们开发了一种优化策略,与常规的箭头实现方法相比,其性能得到了显着改善。 CCA的三个不同但又相关的应用程序,即同步数据流,常微分方程和功能性反应式编程。对于每个应用程序,我们都开发了作为CCA实例的基于箭头的DSL,并且我们展示了它们在改善程序的运行时行为方面的显着优势,例如消除了可怕的空间泄漏,并将性能提高了几个数量级。

著录项

  • 作者

    Liu, Hai.;

  • 作者单位

    Yale University.;

  • 授予单位 Yale University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2011
  • 页码 155 p.
  • 总页数 155
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号