...
首页> 外文期刊>Theory and Practice of Logic Programming >Table space designs for implicit and explicit concurrent tabled evaluation
【24h】

Table space designs for implicit and explicit concurrent tabled evaluation

机译:用于隐式和显式并发表评估的表空间设计

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

摘要

One of the main advantages of Prolog is its potential for the implicit exploitation of parallelism and, as a high-level language, Prolog is also often used as a means to explicitly control concurrent tasks. Tabling is a powerful implementation technique that overcomes some limitations of traditional Prolog systems in dealing with recursion and redundant subcomputations. Given these advantages, the question that arises is if tabling has also the potential for the exploitation of concurrency/parallelism. On one hand, tabling still exploits a search space as traditional Prolog but, on the other hand, the concurrent model of tabling is necessarily far more complex, since it also introduces concurrency on the access to the tables. In this paper, we summarize Yap's main contributions to concurrent tabled evaluation and we describe the design and implementation challenges of several alternative table space designs for implicit and explicit concurrent tabled evaluation that represent different tradeoffs between concurrency and memory usage. We also motivate for the advantages of using fixed-size and lock freedata structures, elaborate on the key role that the engine's memory allocator plays on such environments, and discuss how Yap's mode-directed tabling support can be extended to concurrent evaluation. Finally, we present our future perspectives toward an efficient and novel concurrent framework which integrates both implicit and explicit concurrent tabled evaluation in a single Prolog engine.
机译:Prolog的主要优点之一是其潜在地隐式利用并行性,并且作为一种高级语言,Prolog也经常用作显式控制并发任务的一种手段。制表是一种强大的实现技术,它克服了传统Prolog系统在处理递归和冗余子计算上的一些限制。鉴于这些优点,出现的问题是制表是否还具有利用并发/并行性的潜力。一方面,制表仍然像传统的Prolog一样利用搜索空间,但是,另一方面,制表的并发模型必然要复杂得多,因为它还引入了对表访问的并发性。在本文中,我们总结了Yap对并发表评估的主要贡献,并描述了隐式和显式并发表评估的几种替代表空间设计的设计和实现挑战,这些表空间设计表示并发与内存使用之间的不同折衷。我们还将激发使用固定大小和锁定自由数据结构的优势,详细说明引擎的内存分配器在此类环境中所扮演的关键角色,并讨论如何将Yap的模式控制表支持扩展到并发评估。最后,我们提出了对高效,新颖的并发框架的未来展望,该框架将隐式和显式并发表评估都集成在单个Prolog引擎中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号