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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-29 10:18:16 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!cyclone1.gnilink.net!news-east.rr.com!news-west.rr.com!lsnws01.we.mediaone.net!cyclone-LA3.rr.com!typhoon.san.rr.com.POSTED!not-for-mail Message-ID: <3B644557.C599A03C@san.rr.com> From: Darren New Organization: Boxes! X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Distributed system portability Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 29 Jul 2001 17:18:14 GMT NNTP-Posting-Host: 24.165.21.192 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 996427094 24.165.21.192 (Sun, 29 Jul 2001 10:18:14 PDT) NNTP-Posting-Date: Sun, 29 Jul 2001 10:18:14 PDT Xref: archiver1.google.com comp.lang.ada:10692 Date: 2001-07-29T17:18:14+00: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? I'm basically thinking of something where the clients would be distributed, talking between themselves peer-to-peer. Does Ada's portability mean I don't need to write a translate-to-and-from-network-representation layer, because I can use streams? -- Darren New / Senior MTS & Free Radical / Invisible Worlds Inc. San Diego, CA, USA (PST). Cryptokeys on demand. Only a WIMP puts wallpaper on his desktop.