On Mon, 29 May 2000, Shaul Karl wrote:

> Your terms are very cryptic for me. Would you mind elaborating on what is 
> serialize/deserialize? pickle/unpickle? pointer-isomorphic way? 
> serialize/deserialize mechanism?

Sure: serialize (or pickle, or marshal) simply means to get a flat
representation of a data structure. For example, you could say computer
programs are seralized representations of the parse trees.

I think the term pointer-isomorphism should be obvious: a non-formal
definition wouild be to say that there is a mapping between the addresses
such that one structure goes into the other.

Any real language (as opposed to glorified assemblers (C++) or macro
processors (Tcl/bash)) has a built-in serialize and deserialize mechanism: 
Java (implements serializable)
Python (pickle)
Perl (Data::Dumper)
Scheme (write)

This is a cool way to implement RPC, persistent objects, etc.

--
Moshe Zadka <[EMAIL PROTECTED]>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to