首页> 外文会议>Australasian conference on Computer science >An implementation of parallel pattern-matching via concurrent haskell
【24h】

An implementation of parallel pattern-matching via concurrent haskell

机译:通过并发haskell实现并行模式匹配

获取原文

摘要

Parallel pattern-matching offers the maximum laziness for programs written in lazy functional languages. Function arguments are evaluated concurrently and all arguments are given equal precedence, so functions can return results whenever possible in the presence of errors or infinite computations. We describe the motivation for and the semantics of parallel pattern-matching. We also describe the first available implementation of Haskell with parallel pattern-matching. The implementation works via a source-to-source translation into Concurrent Haskell, using the existing facilities of GHC to provide the required concurrency. Various transformation techniques are outlined which can help to reduce the degree and cost of the concurrency required to satisfy the semantics.
机译:并行模式匹配为使用惰性函数语言编写的程序提供了最大的惰性。同时对函数参数进行求值,并且所有参数都具有相同的优先级,因此函数可以在存在错误或无穷大计算量的情况下尽可能返回结果。我们描述了并行模式匹配的动机和语义。我们还将描述具有并行模式匹配的Haskell的第一个可用实现。该实现通过使用GHC的现有功能提供所需的并发性,通过将源到源转换为Concurrent Haskell来进行。概述了各种转换技术,这些技术可以帮助降低满足语义要求的并发程度和成本。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号