首页> 外文会议>Objects, models, components, patterns. >Multiparty Session C: Safe Parallel Programming with Message Optimisation
【24h】

Multiparty Session C: Safe Parallel Programming with Message Optimisation

机译:多方会话C:通过消息优化进行安全的并行编程

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

摘要

This paper presents a new efficient programming toolchain for message-passing parallel algorithms which can fully ensure, for any typable programs and for any execution path, deadlock-freedom, communication safety and global progress through a static checking. The methodology is embodied as a multiparty session-based programming environment for C and its runtime libraries, which we call Session C. Programming starts from specifying a global protocol for a target parallel algorithm, using a protocol description language. From this global protocol, the projection algorithm generates endpoint protocols, based on which each endpoint C program is designed and implemented with a small number of concise session primitives. The endpoint protocol can further be refined to a more optimised protocol through subtyping for asynchronous communication, preserving original safety guarantees. The underlying theory can ensure that the complexity of the toolchain stays in polynomial time against, the size of programs. We apply this framework to representative parallel algorithms with complex communication topologies. The benchmark results show that Session C performs competitively against MPI.
机译:本文提出了一种用于消息传递并行算法的新型高效编程工具链,该链可通过静态检查来完全确保任何可键入程序和任何执行路径无死锁,通信安全以及全局进度。该方法体现为C及其运行时库的基于多方会话的编程环境,我们将其称为会话C。编程从使用协议描述语言为目标并行算法指定全局协议开始。投影算法从该全局协议生成终结点协议,基于该协议,可以使用少量简洁的会话原语来设计和实现每个终结点C程序。可以通过子类型化进一步将端点协议改进为更优化的协议,以进行异步通信,同时保留原始的安全保证。基础理论可以确保工具链的复杂度保持在多项式时间内,而不取决于程序的大小。我们将此框架应用于具有复杂通信拓扑的代表性并行算法。基准测试结果显示,会话C的表现优于MPI。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号