首页> 外文会议>Coordination models and languages >Safe Parallel Programming with Session Java
【24h】

Safe Parallel Programming with Session Java

机译:使用Session Java进行安全的并行编程

获取原文
获取原文并翻译 | 示例

摘要

The session-typed programming language Session Java (SJ) has proved to be an effective tool for distributed programming, promoting structured programming for communications and compile-time safety. This paper investigates the use of SJ for session-typed parallel programming, and introduces new language primitives for chained iteration and multi-channel communication. These primitives allow the efficient coordination of parallel computation across multiple processes, thus enabling SJ to express the complex communication topologies often used by parallel algorithms. We demonstrate that the new primitives yield clearer and safer code for pipeline, ring and mesh topologies through implementations of representative parallel algorithms. We then present a semantics and session typing system including the new primitives, and prove type soundness and deadlock-freedom for our implementations. The benchmark results show that the new SJ is substantially faster than the original SJ and performs competitively against MPJ Express1 used as reference.
机译:会话类型的编程语言Session Java(SJ)已被证明是用于分布式编程,促进通信和编译时安全的结构化编程的有效工具。本文研究了SJ在会话型并行编程中的用法,并介绍了用于链式迭代和多通道通信的新语言原语。这些原语允许跨多个进程的并行计算的有效协调,从而使SJ能够表达并行算法经常使用的复杂通信拓扑。我们证明了新的原语通过具有代表性的并行算法的实现,为管道,环形和网格拓扑生成了更清晰,更安全的代码。然后,我们提出一个包括新原语的语义和会话类型系统,并为我们的实现证明类型的健全性和无死锁。基准测试结果表明,新的SJ显着快于原始SJ,并且与用作参考的MPJ Express1相比具有竞争力。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号