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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2c23a44c4c8fd6b X-Google-Attributes: gid103376,public From: nassera@net.com Subject: Re: fixed point types over an interface Date: 1997/02/11 Message-ID: <5drd56$90i@lana.zippo.com>#1/1 X-Deja-AN: 218195774 Sender: usenet@drn.zippo.com References: <32FBB550.41C67EA6@efogm.msd.ray.com> <32FF352D.3EA1@elca-matrix.ch> Organization: N.E.T. Newsgroups: comp.lang.ada Date: 1997-02-11T00:00:00+00:00 List-Id: In article , dewar@merv.cs.nyu.edu says... > >Mats said > ><is not a problem, passing the data in text representation will always >work and be portable.>> > >Another possibility is to use a target independent implementation of >Stream_IO, such as is provided with GLADE (the GNAT implementation of >the distributed annex PCS). GLADE uses XDR for stream representation, >which avoids any endian (or other target dependent) problems. > good choice. I just wanted to also add that Sun NFS and Sun RPC also uses XDR. man xdr: (on solaris 2.5) DESCRIPTION XDR routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls (RPC) are transmitted using these routines. by the way, I wonder why the man output above mentions only "C programmers". Nasser