【24h】

The Type Discipline of Behavioral Separation

机译:行为分离的类型学科

获取原文

摘要

We introduce the concept of behavioral separation as a general principle for disciplining interference in higher-order imperative concurrent programs, and present a type-based approach that systematically develops the concept in the context of an ML-like language extended with concurrency and synchronization primitives. Behavioral separation builds on notions originally introduced for behavioral type systems and separation logics, but shifts the focus from the separation of static program state properties towards the separation of dynamic usage behaviors of runtime values. Behavioral separation types specify how values may be safely used by client code, and can enforce fine-grained interference control disciplines while preserving compositionality, information hiding, and flexibility. We illustrate how our type system, even if based on a small set of general primitives, is already able to tackle fairly challenging program idioms, involving aliasing at various types, concurrency with first-class threads, manipulation of linked data structures, behavioral borrowing, and invariant-based separation.
机译:我们介绍了行为分离的概念,作为在高阶命令式并发程序中处理干扰的一般原理,并提出了一种基于类型的方法,该方法在并发和同步原语扩展的类ML语言的上下文中系统地开发了该概念。行为分离建立在最初为行为类型系统和分离逻辑引入的概念的基础上,但将重点从静态程序状态属性的分离转向运行时值的动态使用行为的分离。行为分隔类型指定客户端代码如何安全地使用值,并可以执行细粒度的干扰控制规则,同时保留组成,信息隐藏和灵活性。我们说明了我们的类型系统,即使是基于少量的通用原语,也已经能够解决颇具挑战性的程序习惯用法,包括各种类型的别名,与一流线程的并发,链接数据结构的操作,行为借用,和基于不变的分离。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号