首页> 外文会议>International Conference on Objects, Models, Components, Patterns >Identifying a Unifying Mechanism for the Implementation of Concurrency Abstractions on Multi-language Virtual Machines
【24h】

Identifying a Unifying Mechanism for the Implementation of Concurrency Abstractions on Multi-language Virtual Machines

机译:确定在多语言虚拟机上实现并发抽象执行的统一机制

获取原文

摘要

Supporting all known abstractions for concurrent and parallel programming in a virtual machines (VM) is a futile undertaking, but it is required to give programmers appropriate tools and performance. Instead of supporting all abstractions directly, VMs need a unifying mechanism similar to INVOKEDYNAMIC for JVMs. Our survey of parallel and concurrent programming concepts identifies concurrency abstractions as the ones benefiting most from support in a VM. Currently, their semantics is often weakened, reducing their engineering benefits. They require a mechanism to define flexible language guarantees. Based on this survey, we define an ownership-based meta-object protocol as candidate for VM support. We demonstrate its expressiveness by implementing actor semantics, software transactional memory, agents, CSP, and active objects. While the performance of our prototype confirms the need for VM support, it also shows that the chosen mechanism is appropriate to express a wide range of concurrency abstractions in a unified way.
机译:支持在虚拟机(VM)中的并发和并行编程的所有已知的抽象是徒劳的承诺,但必须为程序员提供适当的工具和性能。 VMS而不是直接支持所有抽象,而是需要一个类似于JVM的Invokedynamic的统一机制。我们对并行编程概念的调查标识了并发抽象,因为受益于VM中的支持大多数的受益。目前,他们的语义往往削弱,降低了他们的工程利益。他们需要一种机制来定义灵活的语言保证。基于此调查,我们将基于所有权的元对象协议定义为VM支持的候选者。我们通过实施Actor语义,软件交易记忆,代理,CSP和活动对象来展示其表达力。虽然我们的原型性能证实了VM支持的需要,但它还表明所选机制适合以统一的方式表达各种并发抽象。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号