Marshaling Unmarshaling as a Compilation Interpretation Process

Christian Queinnec 1
1 SPI - Sémantiques, preuves et implantation
LIP6 - Laboratoire d'Informatique de Paris 6
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 i.e., a sequence of commands interspersed with quoted raw data. This program is an expression of the marshaling language. From that point of view, the marshaler logically appears as a compiler translating values into expressions of the marshaling language.
Document type :
Conference papers
Complete list of metadatas

https://hal.archives-ouvertes.fr/hal-01574458
Contributor : Lip6 Publications <>
Submitted on : Monday, August 14, 2017 - 3:54:50 PM
Last modification on : Thursday, March 21, 2019 - 2:39:05 PM

Identifiers

  • HAL Id : hal-01574458, version 1

Citation

Christian Queinnec. Marshaling Unmarshaling as a Compilation Interpretation Process. Second Merged Symposium IPPS/SPDP 1999 13th International Parallel Processing Symposium 10th Symposium on Parallel and Distributed Processing, Apr 1999, San Juan, Puerto Rico. pp.616-621. ⟨hal-01574458⟩

Share

Metrics

Record views

32