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 04:25:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!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 13:22:42 +0200 Organization: CANAL+ Technologies Message-ID: <3B654382.B885CE20@canal-plus.fr> References: <3B644557.C599A03C@san.rr.com> 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 996492162 12307 194.2.208.227 (30 Jul 2001 11:22:42 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 30 Jul 2001 11:22:42 +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:10723 Date: 2001-07-30T13:22:42+02:00 List-Id: > Is it generally the case that a distributed system compiled on two > different architectures can talk to itself? In other words, if I write a > distributed system with GNAT, and I compile one portion on Windows and > another portion on Linux, are these two systems likely to talk to each > other? If not, are the stream formats likely to be compatible? If not, > is there a way to redefine the low-level stream operators for things > like Integer to ensure that the same format is used at both ends? Or do > I need to write translation routines to some architecture-independent > format? In pratice, GNAT/GLADE seems to handle this (but I never used it). In theory (although there is no other implementation of DSA than GLADE), there is absolutely no guarantee in the ARM about that. Interoperability is, in my opinion, the biggest hole in Ada95 and writing "open" software in Ada95 is much harder that it could have been if the default representation of streams were standardized. -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 ____________________________________________________________________________