Protocol Programming: A Layered Programming Paradigm

Yanping Chen,Zehua Ding,Qinghua Zheng,Bin Liu,Nazaraf Shah
DOI: https://doi.org/10.1109/ICEBE.2018.00058
2018-01-01
Abstract:Modularized programming has many advantages. However, the current encapsulation makes a hard partition between modules. It is weak in communication. In this paper, a layered programming paradigm is presented, where "layer" is an abstract interface to support functional partitioning. Under this paradigm, all instantiated modules are automatically connected to a thread network, which provide a platform for communication. Protocols are defined to coordinate the behaviours between them and control mechanisms, such as concurrency, parallelism, distribution and pipeline, etc. An implementation is presented to show the effectiveness of protocol programming.
What problem does this paper attempt to address?