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-31 00:44:26 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!148.122.208.68!news2.oke.nextra.no!nextra.com!news1.oke.nextra.no.POSTED!not-for-mail Sender: ohk@daf.clustra.com Newsgroups: comp.lang.ada Subject: Re: Distributed system portability References: <3B644557.C599A03C@san.rr.com> <3B654382.B885CE20@canal-plus.fr> <3B658765.8F0E0939@canal-plus.fr> <6uk97.11952$ar1.37575@www.newsranger.com> From: Ole-Hjalmar Kristensen Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 194.143.59.98 X-Complaints-To: news-abuse@nextra.no NNTP-Posting-Date: Tue, 31 Jul 2001 09:44:00 MET DST Organization: Nextra Public Access X-Trace: readme.online.no 996565440 194.143.59.98 Date: 31 Jul 2001 09:44:15 +0200 Xref: archiver1.google.com comp.lang.ada:10837 Date: 2001-07-31T09:44:15+02:00 List-Id: Ted Dennison writes: > In article <3B658765.8F0E0939@canal-plus.fr>, Thierry Lelegard says... > >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. > > I'd say its a bit worse than that. You really shouldn't try to access them from > code that wasn't compiled with the same Ada compiler (unless you are *real* > careful). Even the same compiler on different platforms could give different > results. > > --- > T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html > home email - mailto:dennison@telepath.com Yes, in this respect Ada is in reality no better and no worse than C, regardless of streams and rep clauses. -- Kabelsalat ist gesund. Ole-Hj. Kristensen