Automatic Generation of Optimized Code for Marshalling Routines
Philipp Hoschka, Christian Huitema · 1994
Syntax Specification Notation 1) and the network data format BER (Basic Encoding Rules). These are used in all OSI application layer standards such as X.400 and X.500. However, they are also used outside the realms of OSI, e.g. for the WAIS information retrieval protocol, the SNMP network management protocol and parts of Signaling System 7. This paper is organized as follows: in Section 2, we discuss related work. In Section 3, we motivate the use of a hybrid approach between interpreted and compiled marshalling routines, by giving a detailed explanation and example code for both techiques. In Section 4, we discuss the problems of integrating our new approach into a stub generator, and develop solutions to these problems. Section 5 gives an outlook on future work. 2. Related Work The time spent in marshalling routines has been identified many times as a dominating factor in the overall cost of network communication ([Huit89], [Clar90], [Huit92]). [Lin93] recently challenged this resu...