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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:6705:: with SMTP id b5-v6mr1956548ioc.35.1527433136422; Sun, 27 May 2018 07:58:56 -0700 (PDT) X-Received: by 2002:a9d:5c8d:: with SMTP id a13-v6mr867581oti.0.1527433136095; Sun, 27 May 2018 07:58:56 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.redatomik.org!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.68.MISMATCH!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!v8-v6no4294311itc.0!news-out.google.com!b185-v6ni3686itb.0!nntp.google.com!v8-v6no4294310itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 27 May 2018 07:58:55 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=80.139.101.198; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 80.139.101.198 References: <5f1e44fa-5b78-45a1-a12e-b8089d823540@googlegroups.com> <9ae54be5-0b96-4675-ad95-7a61ecc6fbd0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: AI12-0218: What is the portable representation clause for processing IETF packets on little-endian machines? From: AdaMagica Injection-Date: Sun, 27 May 2018 14:58:56 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2844 X-Received-Body-CRC: 584282157 Xref: reader02.eternal-september.org comp.lang.ada:52728 Date: 2018-05-27T07:58:55-07:00 List-Id: Am Samstag, 26. Mai 2018 23:01:28 UTC+2 schrieb Dan'l Miller: > On Saturday, May 26, 2018 at 2:02:12 PM UTC-5, AdaMagica wrote: > > Am Samstag, 26. Mai 2018 18:15:30 UTC+2 schrieb Dan'l Miller: > > > Why is Norman Cohen's solution in the PDF=C2=A0at the URL below not t= he way for the ARG to merely dismiss AI12-0218 as not-a-problem that needs = to be solved, due to already having a solution ever since Record Representa= tion Clause was introduced. > > > If you look at the last post in this AI, nobody is willing to work on it. A= nd if I remember correctly, Randy once said that nobody except the author o= f the AI understands it. > > > http://www.ada-auth.org/ai-files/grab_bag/bitorder.pdf > >=20 > > This is what has been implemented in Ada 2005. See my post of May 11. >=20 > Yes, I know. It seems that AI12-0218 and Scalar_Storage_Order are focuse= d on the wrong topic (i.e., the topic of a 2nd solution to the endian byte-= swapping). A replacement to AI12-0218 should be focused on =E2=80=A2portab= ly=E2=80=A2 (among all Ada compilers) choosing between the 2 alternative by= te-swapping Record Representation Clauses on different targets. I do not understand. As far as I can tell, the Ada 2005 solution with its m= achine scalars is portable.