LIP6 1998/049: Rapport de Recherche
LIP6 /
LIP6 research
reports
14 pages - Décembre/December 1998 -
Document en anglais.
PostScript : 106 Ko /Kb
Contact : par mail / e-mail
Thème/Team: Sémantique, Preuve et Implantation
Titre français : Encodage/décodage vu comme un processus de compilation/interprétation
Titre anglais : Marshaling/Unmarshaling as a Compilation/Interpretation Process
Abstract : Marshaling is the process through which structured values are serialized into a stream of bytes; unmarshaling converts this stream of bytes back to structured values. Most often, for a given data structure, the marshaler and the unmarshaler are tightly related pieces of code that are synthesized conjunctly. This paper proposes a new point of view: the unmarshaler is considered as a byte-code interpreter evaluating a stream of bytes considered as a program \ie{} a sequence of commands interspersed with quoted raw data. This program is an expression of the {\em marshaling language}. From that point of
view, the marshaler logically appears as a compiler translating values into expressions of the marshaling language.
Key-words : marshaling, serialization, deserialization, RMI, RPC, DMeroon
Publications internes LIP6 1998 / LIP6 research reports 1998