Subject: Re: Qs re 'Write & 'Read
Date: Thu, 12 Jun 2003 12:12:24 +0200
Date: 2003-06-12T12:12:24+02:00 [thread overview]
Message-ID: <3ee8520c$1@epflnews.epfl.ch> (raw)
In-Reply-To: MPG.19519f4144e6af8498969c@news.ip-plus.net
Thomas Wolf wrote:
> david.c.hoos.sr@ada95.com wrote:
>
>><tmoran@acm.org> wrote in message news:02qFa.1186062$F1.140501@sccrnsc04...
>>
>>>>the string itself is preceded by its contstraint, access types are
>>>
>>written
>>
>>>>to the stream with a boolean value preceding the data (if any).
>>>
>>> Sounds right.
>>>
>>>
>>>>It surely seemed to me like the language standard could have defined
>>>>something like this as the default for access types, but alas, it did
>>>
>>not.
>>
>>> I can see there would be difficulties for general access types, but
>>>heap access types seem easy enough. Unless storage pools cause
>>>difficulties.
>>
>>Maybe my mind's just in a fog today, but please explain why there'd be
>>a problem with any kind of access type -- general, or not, using my
>>approach.
>
>
> Cyclic self-referential data structures. It's clearly out of the
> standard's business; it's up to your application to define how
> a graph (cyclic or not, tree-shaped or not) is to be written to
> and read from a stream.
I would not say that it is totally outside standard's business... It
clearly adds complexity to the compiler/run-time, but Java does that
automatically (and it detects circularities).
Rodrigo
prev parent reply other threads:[~2003-06-12 10:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-10 6:11 Qs re 'Write & 'Read tmoran
2003-06-10 12:53 ` Rodrigo Garcia
2003-06-10 17:55 ` David C. Hoos
2003-06-10 19:09 ` tmoran
2003-06-10 21:30 ` David C. Hoos
2003-06-10 23:26 ` tmoran
2003-06-11 1:31 ` David C. Hoos
2003-06-11 19:19 ` Thomas Wolf
2003-06-12 10:12 ` [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox