首页> 外文会议>International conference on concurrency theory >Session Types for Functional Multithreading
【24h】

Session Types for Functional Multithreading

机译:功能多线程的会话类型

获取原文

摘要

We define a language whose type system, incorporating session types, allows complex protocols to be specified by types and verified by static typechecking. A session type, associated with a communication channel, specifies the state transitions of a protocol and also the data types of messages associated with transitions; thus typechecking can verify both correctness of individual messages and correctness of sequences of transitions. Previously session types have mainly been studied in the context of the π-calculus; instead, our formulation is based on a multi-threaded functional language with side-effecting input/output operations. Our typing judgements statically describe dynamic changes in the types of channels, our channel types statically track aliasing, and our function types not only specify argument and result types but also describe changes in channels. We formalize the syntax, semantics and typing rules of our language, and prove subject reduction and runtime type safety theorems.
机译:我们定义了一种类型系统,包含会话类型的语言,允许按类型指定的复杂协议并通过静态TypeCrecking验证。与通信通道相关联的会话类型指定协议的状态转换以及与转换相关联的消息的数据类型;因此,TypeCrecking可以验证各个消息的正确性和转换序列的正确性。以前的会话类型主要在π-微分的背景下研究;相反,我们的配方基于具有副作用输入/输出操作的多线程功能语言。我们的键入判断静态描述了通道类型的动态变化,我们的频道类型静态跟踪别名,以及我们的函数类型不仅指定参数和结果类型,而且还描​​述了通道中的更改。我们正式化语言的语法,语义和键入规则,并证明了对象减少和运行时类型的安全定理。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号