Access Restriction

Author Dias, Martín ♦ Martinez, Mariano ♦ Stéphane, Peck ♦ Arévalo, Ducasse Gabriela
Source CiteSeerX
Content type Text
File Format PDF
Language English
Subject Domain (in DDC) Computer science, information & general works ♦ Data processing & computer science
Description Serializing object graphs is an important activity since ob-jects should be stored and reloaded on different environ-ments. There is a plethora of frameworks to serialize ob-jects based on recursive parsing of the object graphs. How-ever such approaches are often too slow. Most approaches are limited in their provided features. For example, sev-eral serializers do not support class shape changes, global references, transient references or hooks to execute some-thing before or after being stored or loaded. Moreover, to be faster, some serializers are not written taking into account the object-oriented paradigm and they are sometimes even implemented in the Virtual Machine hampering code porta-bility. VM-based serializers such as ImageSegment are dif-ficult to understand, maintain, and fix. For the final user, it means a serializer which is difficult to customize, adapt or extend to his own needs. In this paper we present a general purpose object graph serializer based on a pickling format and algorithm. We im-plement and validate this approach in the Pharo Smalltalk environment. We demonstrate that we can build a really fast serializer without specific VM support, with a clean object-oriented design, and providing most possible required fea-tures for a serializer. We show that our approach is faster that traditional serializers and compare favorably with Im-ageSegment as soon as serialized objects are not in isolation.
In "Proceedings of ESUG International Workshop on Smalltalk Technologies (IWST 2011
Educational Role Student ♦ Teacher
Age Range above 22 year
Educational Use Research
Education Level UG and PG ♦ Career/Technical Study
Learning Resource Type Article