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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cc9d51d301f523ef X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-16 05:48:14 PST Path: archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Newbee question Date: Mon, 16 Dec 2002 08:28:01 -0500 Organization: MindSpring Enterprises Message-ID: References: <3DFB9067.2040600@acm.org> <0dRK9.37601$xH3.400905@weber.videotron.net> <2bTK9.62545$hK4.5163007@bgtnsc05-news.ops.worldnet.att.net> <3dfdab08.5187148@news.demon.co.uk> NNTP-Posting-Host: d1.56.bf.1d X-Server-Date: 16 Dec 2002 13:28:22 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: archiver1.google.com comp.lang.ada:31889 Date: 2002-12-16T13:28:22+00:00 List-Id: John McCabe wrote in message news:3dfdab08.5187148@news.demon.co.uk... > > I wouldn't have put it that way - you have far more control over data > representations than you have in C or C++. Record representation > clauses (as long as the compiler supports them) are very well defined. > In C and C++ bit-fields are a bit of a hit and miss affair. > Yes, but when the compiler rejects valid representation clauses simply because it doesn't want to do it that way, you're back to picking the bits apart out of a byte array just like you would with C or C++. Or if the language doesn't give you a means of expressing a representation for some of the features (How do you control where the tag goes in a tagged record so you can effectively control the placement of everything else?) you're stuck once again. Ada has some really nice syntax for controlling representation - but all of that is totally useless the instant the compiler starts rejecting it for even *some* of the cases. MDC -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ======================================================================