计算机科学 > 程序设计语言
[提交于 2017年4月24日]
标题:Dependent Session Types
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Session types offer a type-based discipline for enforcing communication protocols in distributed programming. We have previously formalized simple session types in the setting of multi-threaded $\lambda$-calculus with linear types. In this work, we build upon our earlier work by presenting a form of dependent session types (of DML-style). The type system we formulate provides linearity and duality guarantees with no need for any runtime checks or special encodings. Our formulation of dependent session types is the first of its kind, and it is particularly suitable for practical implementation. As an example, we describe one implementation written in ATS that compiles to an Erlang/Elixir back-end.
提交历史
来自:Hanwen Wu[v1] 2017年4月24日 星期一 00:33:36 UTC