comp.lang.ada
 help / color / mirror / Atom feed
From: Thierry Lelegard <thierry.lelegard@canal-plus.fr>
Subject: Re: Distributed system portability
Date: Mon, 30 Jul 2001 18:12:21 +0200
Date: 2001-07-30T18:12:21+02:00	[thread overview]
Message-ID: <3B658765.8F0E0939@canal-plus.fr> (raw)
In-Reply-To: UcONQxieKogX@eisner.encompasserve.org

> When streams go to a file, wouldn't there be a problem with differences
> between record-oriented file systems and bag-of-bytes oriented file
> systems ?

Exactly (I know you are thinking about VMS, which we use as well).
In a file, there is the "logical content" (the data) and the physical
content (the raw content of the blocks of the file). Both are identical
on UNIX but they are not on VMS.

But, anyway, the Ada95 streams only care about the "logical content".
However, even this logical content is non standard. The very first
reason for this is the horrible "type Stream_Element is mod 
implementation-defined" in Ada.Streams. You cannot base interoperability
on an "implementation-defined" feature.

> Or is the idea of streams that one should never try to access them
> from a non-Ada language ?

Yes, for the reason above.

-Thierry
____________________________________________________________________________

Thierry Lelegard, "The Jazzing Troll", Email: thierry.lelegard@canal-plus.fr
CANAL+ Technologies, 34 place Raoul Dautry, 75906 Paris Cedex 15, France
Tel: +33 1 71 71 54 30   Fax: +33 1 71 71 52 08   Mobile: +33 6 03 00 65 75
____________________________________________________________________________



  reply	other threads:[~2001-07-30 16:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-29 17:18 Distributed system portability Darren New
2001-07-30  8:00 ` Pascal Obry
2001-07-31  7:23   ` Frank
2001-07-31 16:35     ` Pascal Obry
2001-07-30 11:22 ` Thierry Lelegard
2001-07-30 13:05   ` Larry Kilgallen
2001-07-30 16:12     ` Thierry Lelegard [this message]
2001-07-30 21:39       ` Ted Dennison
2001-07-30 22:28         ` tmoran
2001-07-31 17:36           ` Ted Dennison
2001-07-31 18:15             ` tmoran
2001-07-31 18:55               ` Marin David Condic
2001-07-31 20:26               ` Ted Dennison
2001-07-31  7:44         ` Ole-Hjalmar Kristensen
2001-07-30 15:57 ` Marin David Condic
2001-07-30 17:17   ` Darren New
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox