计算机科学 > 程序设计语言
[提交于 2012年11月12日 (v1),最后修订于 2016年12月27日 (此版本, v5)]
标题:Honesty by Typing
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We propose a type system for a calculus of contracting processes. Processes can establish sessions by stipulating contracts, and then can interact either by keeping the promises made, or not. Type safety guarantees that a typeable process is honest - that is, it abides by the contracts it has stipulated in all possible contexts, even in presence of dishonest adversaries. Type inference is decidable, and it allows to safely approximate the honesty of processes using either synchronous or asynchronous communication.