协议编程:数字世界的连接
Protocol Programming: A Connection of the Digital World
摘要:
当前的计算机程序设计将属性和行为封装到对象中,但缺少支持对象之间连接的机制。提出了一种连接所有对象的编程范式。连接支持通信。协议被定义为协调对象之间的行为,从而使对象能够跨不同平台进行交互。连接还提供了一种有效的机制来支持并发、并行、分布、流水线和适应性等,它们可以透明地、自治地甚至自适应地进行管理。本文还讨论了协议编程的一个实现,以说明协议编程的有效性。
英文摘要:
The current computer programmings encapsulate attributes and behaviours into objects, but miss the mechanism to support the connection among objects. A programming paradigm is presented to connect all objects. The connection supports communications. Protocols are defined to coordinate the behaviours between objects, which enable the interaction of objects across different platforms. The connection also provides an efficient mechanism to support the concurrency, parallelism, distribution, pipeline and adaptability, etc. They can be governed transparently, autonomously, even adaptively. In this paper, an implementation is also discussed to show the effectiveness of protocol programming.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。