From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,958ed45cc4906b53 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-30 09:15:03 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: Thierry Lelegard Newsgroups: comp.lang.ada Subject: Re: Distributed system portability Date: Mon, 30 Jul 2001 18:12:21 +0200 Organization: CANAL+ Technologies Message-ID: <3B658765.8F0E0939@canal-plus.fr> References: <3B644557.C599A03C@san.rr.com> <3B654382.B885CE20@canal-plus.fr> NNTP-Posting-Host: host227.canal-plus.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: s1.read.news.oleane.net 996509541 22158 194.2.208.227 (30 Jul 2001 16:12:21 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 30 Jul 2001 16:12:21 +0000 (UTC) X-Sender: "Thierry Lelegard" (Unverified) X-Mailer: Mozilla 4.75 [fr]C-CCK-MCD C+ (WinNT; U) X-Accept-Language: en,fr,zh-CN,zh-TW Xref: archiver1.google.com comp.lang.ada:10762 Date: 2001-07-30T18:12:21+02:00 List-Id: > 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 ____________________________________________________________________________