[lug] C++ question, without buying expensive doc.s
Zan Lynx
zlynx at acm.org
Mon Jan 10 21:42:49 MST 2005
On Mon, 2005-01-10 at 19:37 -0700, Paul E Condon wrote:
[snip]
> To do serialization 'automagically' they need to put a distinct 'magic
> number' in the serializations of distinct object types. Usually this
> is attempted without language/compiler support by having a hidden
> database somewhere in the development environment, and registering
> magic numbers there. I believe they would be much better off using the
> actual object text name rather than a secretly maintained magic number
> database.
>
> But maybe I'm just a lunatic outlier.
>
> By the way, who is Tom Tromey?
The best C++ serialization that I've seen involved a Python (or was it
Ruby?) script that generated the serialization code. I'm sorry that I
can't remember the link.
--
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20050110/8e77c586/attachment.pgp>
More information about the LUG
mailing list