From: Simon Wright <simon@pushface.org>
Subject: Re: Streams and Access types
Date: 30 Jan 2003 20:41:05 +0000
Date: 2003-01-30T20:41:05+00:00 [thread overview]
Message-ID: <x7visw62wwu.fsf@smaug.pushface.org> (raw)
In-Reply-To: ud6mfvioo.fsf@nasa.gov
Stephen Leake <Stephen.A.Leake@nasa.gov> writes:
> Rodrigo Garc�a <rodrigo.garcia@epfl.ch> writes:
>
> > One solution is to do custom serialization but, does anybody knows
> > of an Ada compiler that can automatically serialize the objects
> > pointed by access variables (recursively if needed, such in the case
> > of the linked list)?
>
> This is not possible in general. How would the compiler resolve a
> circular list? All doubly-linked lists have circles, so it is a real
> problem.
Clearly this can be done! Java does it (unless I'm mistaken). You have
to keep track of what's been serialized already, I suppose.
next prev parent reply other threads:[~2003-01-30 20:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-29 14:09 Streams and Access types Rodrigo García
2003-01-29 19:51 ` Stephen Leake
2003-01-30 20:41 ` Simon Wright [this message]
2003-01-30 21:56 ` James S. Rogers
2003-01-31 11:13 ` Rodrigo Garcia
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox