Send-receive considered harmful: Myths and realities of message passing
Send-receive considered harmful: Myths and realities of message passing
复制标题
发送-接收被认为是有害的:消息传递的神话和现实
DOI:
10.1145/963778.963780
复制
发表时间:
2004
期刊:
影响因子:
--
通讯作者:
S. Gorlatch
中科院分区:
文献类型:
--
作者:
S. Gorlatch
During the software crisis of the 1960s, Dijkstra's famous thesis "goto considered harmful" paved the way for structured programming. This short communication suggests that many current difficulties of parallel programming based on message passing are caused by poorly structured communication, which is a consequence of using low-level send-receive primitives. We argue that, like goto in sequential programs, send-receive should be avoided as far as possible and replaced by collective operations in the setting of message passing. We dispute some widely held opinions about the apparent superiority of pairwise communication over collective communication and present substantial theoretical and empirical evidence to the contrary in the context of MPI (Message Passing Interface).