[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add and copy a partition



On Mon, 29 May 2000, Stanislav Malyshev a.k.a Frodo wrote:

> MZ>> Any real language (as opposed to glorified assemblers (C++) or macro
> MZ>> processors (Tcl/bash)) has a built-in serialize and deserialize mechanism: 
> MZ>> Java (implements serializable)
> MZ>> Python (pickle)
> MZ>> Perl (Data::Dumper)
> MZ>> Scheme (write)
> 
> BTW, there are language-independent serialization protocols (WDDX, for
> instance, or RPC has one, but it's rather compilcated). Actually, every
> time you do "Save" in your editor, you are serializing, especially when
> editor uses some proprietary format.

Of course: but the cool thing a language built-in serialization protocol
gives you is "for free": any new object you define, and structure, just go
and serialize it without defining anything.

--
Moshe Zadka <moshez@math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il