[Ecls-list] Object serialization

Matthew Mondor mm_lists at pulsar-zone.net
Sun Jun 6 16:44:02 UTC 2010


On Sun, 6 Jun 2010 16:32:46 +0200
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:

> SI:SERIALIZE is a function that takes an object and produces an (ARRAY
> (UNSIGNED-BYTE *) (*)) with enough information to reconstruct an EQUAL
> object. SI:DESERIALIZE does the opposite. The whole code takes very little
> in C and apart for some big switches to reconstruct the entries in the lisp
> objects it is pretty simple. Everything is now available in CVS.

So if I understand, the compiler could use SI:SERIALIZE, and loader
SI:DESERIALIZE to load back the static const objects?  In any case, the
performance is impressive.  I do think that serialize and deserialize
are correct terminology, or at least proper programming jargon :)
-- 
Matt




More information about the ecl-devel mailing list