comp.lang.ada
 help / color / mirror / Atom feed
From: nassera@net.com
Subject: Re: fixed point types over an interface
Date: 1997/02/11
Date: 1997-02-11T00:00:00+00:00	[thread overview]
Message-ID: <5drd56$90i@lana.zippo.com> (raw)
In-Reply-To: dewar.855629889@merv


In article <dewar.855629889@merv>, dewar@merv.cs.nyu.edu says...
>
>Mats said
>
><<You may also run into big endian/little endian problems. If performance
>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




  reply	other threads:[~1997-02-11  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-07  0:00 fixed point types over an interface Allen Krell
1997-02-07  0:00 ` Matthew Heaney
1997-02-07  0:00 ` Robert Dewar
1997-02-10  0:00   ` Mats Weber
1997-02-10  0:00     ` Robert Dewar
1997-02-11  0:00       ` nassera [this message]
1997-02-12  0:00         ` Samuel Tardieu
1997-02-12  0:00   ` Laurent Pautet
1997-02-12  0:00   ` Laurent Pautet
1997-02-12  0:00     ` Robert Dewar
1997-02-12  0:00       ` Mats Weber
1997-02-17  0:00     ` Jacob Sparre Andersen
1997-02-18  0:00       ` Robert Dewar
1997-02-12  0:00   ` Jon S Anthony
1997-02-13  0:00   ` Jon S Anthony
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox