【24h】

Formal Semantics for Expressing Optimism: The Meaning of HOPE~*

机译:表达乐观的形式语义学:HOPE〜*的意义

获取原文

摘要

Optimism is a powerful technique for increasing concurrency. A program can increase concurrency by making an optimistic assumption about its future state, and verifying the assumption in parallel with computations based on the optimistic assumption. the use of optimism has been restricted to specialized systems due to the difficulty of writing and understanding optimistic programs. In this paper, we define optimism as any computation that uses rollback. We present a formal semantics for expressing optimism by defining operations for concurrent programs to specify which optimistic computations to roll back, while automating the dependency tracking. We prove that these semantics guarantee some intuitiviely desirable behaviors. Finally, we describe our programming language implementation based on the semantics.
机译:乐观是增加并发性的强大技术。程序可以通过对程序的未来状态进行乐观假设,并与基于乐观假设的计算并行地验证该假设,从而提高并发性。由于编写和理解乐观程序的困难,乐观的使用仅限于专门的系统。在本文中,我们将乐观定义为使用回滚的任何计算。我们通过定义并发程序的操作以指定要回滚的乐观计算,同时自动执行依赖项跟踪,来表达表达乐观的形式语义。我们证明了这些语义保证了某些直观上令人满意的行为。最后,我们基于语义描述了我们的编程语言实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号