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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1ce307c10055549 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-20 05:19:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!news-out.cwix.com!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: calenday (was Re: IBM Acquires Rational Ada Date: 20 Dec 2002 06:19:52 -0600 Organization: LJK Software Message-ID: References: <5JfM9.395655$P31.145145@rwcrnsc53> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1040390310 13537 192.135.80.34 (20 Dec 2002 13:18:30 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 20 Dec 2002 13:18:30 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:32107 Date: 2002-12-20T06:19:52-06:00 List-Id: In article , "Marin David Condic" writes: > I'd suspect that declaring in the standard that all tags shall start at > offset 0 and extend for 32 bits would not cause anyone any rework. I doubt > it would come up often that the offset needed to be anything other than > zero - I can't think of why I'd want it to or why I couldn't make things > work somehow if it were always zero. Having a predefined constant for size > and a mandated (dare I use that word?) starting point at the beginning of > the record ought to be good enough. It depends on whether there are external constraints on the record. VMS kernel data structures, for instance, use the first 64 bits for a doubly-linked list, the next 16 bits for length and the 16 bits after that for a "type" (the closest thing to a constraint or tag). Interoperation with other languages is crucial in this domain, unlike all-Ada environments.