comp.lang.ada
 help / color / mirror / Atom feed
From: pipex!warwick!zaphod.crihan.fr!univ-lyon1.fr!scsing.switch.ch!epflnews!di suns2.epfl.ch!lglsun!madmats@uunet.uu.net  (Mats Weber)
Subject: Re: Forcing default representations
Date: 30 Jul 93 01:15:46 GMT	[thread overview]
Message-ID: <1993Jul30.030333@lglsun.epfl.ch> (raw)

In article <9307131922.AA04017@eight-ball.boeing.com>, crispen@eight-ball.boein
g.com (crispen) writes:

|> So basically I'm going after having the best of all possible worlds:
|> we have rep specs (essential, because we're defining objects that are
|> going on a network between two machines of possibly different
|> architectures), but the person who is modifying this file should
|> be able to add or delete from the Aircraft_Trim enumeration at will,
|> and the rep specs are generated automatically.  Cool!

Writing representation specifications for all your types does not help in sendi
ng over a
network, because you still depend on whether your machine is big endian or litt
le
endian. Communicating values between machines with the same endianity will work
, but
will fail if one machine is big endian and the other is little endian.

Ada has no way of specifying exact layout of records: you will never know where
 the
most/least significant bit goes.

             reply	other threads:[~1993-07-30  1:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-30  1:15 pipex!warwick!zaphod.crihan.fr!univ-lyon1.fr!scsing.switch.ch!epflnews!di [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-07-30 12:00 Forcing default representations Bob Gilbert
1993-07-26 18:30 Robert I. Eachus
1993-07-26 15:12 agate!howland.reston.ans.net!europa.eng.gtefsd.com!news.ans.net!newsgate.watson.ibm.com!yktnews.watson.ibm.com!ncohen
1993-07-24 21:16 Erik Magnuson
1993-07-24 17:13 pipex!sunic!news.funet.fi!funic!news.eunet.fi!prime!mits!rkaivola
1993-07-23 19:15 Gary Morris @ignite
1993-07-22 18:34 Bob Crispen
1993-07-20 12:57 Bob Crispen
1993-07-19 16:56 Adam Beneschan
1993-07-16 22:26 dog.ee.lbl.gov!overload.lbl.gov!agate!howland.reston.ans.net!noc.near.net
1993-07-13 19:22 crispen
replies disabled

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