arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1701.04920cs.LO
收藏

具有会话类型的非阻塞并发命令式程序设计

Non-Blocking Concurrent Imperative Programming with Session Types

Miguel Silva, Mário Florido, Frank Pfenning

摘要:

Concurrent C 0是C家族中的一种命令式程序设计语言,具有会话类型的消息传递并发性。前面提出的语义实现了异步(非阻塞)输出;我们在这里扩展了非阻塞输入。一个关键的想法是通过将接收命令解释为对消息的请求来尽可能地推迟消息接收。我们将我们的想法实现为从阻塞中间语言到非阻塞语言的翻译。最后,我们评估了我们的技术与几个基准程序,并显示所获得的结果。虽然跨度的抽象度量总是减少(或保持不变),但只有少数例子获得了实际好处。

英文摘要:

Concurrent C0 is an imperative programming language in the C family with session-typed message-passing concurrency. The previously proposed semantics implements asynchronous (non-blocking) output; we extend it here with non-blocking input. A key idea is to postpone message reception as much as possible by interpreting receive commands as a request for a message. We implemented our ideas as a translation from a blocking intermediate language to a non-blocking language. Finally, we evaluated our techniques with several benchmark programs and show the results obtained. While the abstract measure of span always decreases (or remains unchanged), only a few of the examples reap a practical benefit.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑