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,3110709241972620 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Packing Record Structures in Ada Date: 1998/01/13 Message-ID: #1/1 X-Deja-AN: 315680052 References: <884639188.24707084@dejanews.com> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 884733078 18566 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1998-01-13T00:00:00+00:00 List-Id: Corey asks <> No, of course there is no requirement that different compilers represent data in the same way. For example two compilers on the same machine with 32-bit type Integer, are free to represent it in different manners (it's unlikely that they will, but there is nothing in the RM to suggest that this kind of interoperability is guaranteed, and streams have nothing to say about that. The factor of 20 will differ a lot, you can get cases with much higher costs (e.g. when exceptions are involved), or much lower costs, it very much depends on the case.