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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Binary and XML serialization of types Date: Wed, 05 Feb 2014 09:39:37 +0000 Organization: A noiseless patient Spider Message-ID: References: <20a36d96-850e-4020-8dfa-777eb9c944f4@googlegroups.com> <9e27abb7-e944-4bd4-a10c-600fe4da7872@googlegroups.com> <56a5aeb6-8704-457c-a24f-b664746afe72@googlegroups.com> <13pvagjpwejni$.1e8ll5btxg1f5$.dlg@40tude.net> <5bf8c737-b99d-4069-885f-03fe82f06cc6@googlegroups.com> <14k7gbu5ws82b.3pn20kh5ci50.dlg@40tude.net> <1txs6yifzioke$.30cghpl6qq1j$.dlg@40tude.net> <18q1ats1rko50$.zp43ryd37uis.dlg@40tude.net> <51bc4e33-df01-4048-802f-587ef81f93ac@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="f3a204fd0da52c1307d65ca023946f38"; logging-data="24986"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mNK8BG2yO9zsqA7bTVmQqaWD8GSsQuEg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:y5dKlz+iIjwXcl7NGg7Km/IQoCE= sha1:nc5b51Wb1pWPnUvY5NjQES4WdNo= X-Original-Bytes: 3140 Xref: number.nntp.dca.giganews.com comp.lang.ada:184670 Date: 2014-02-05T09:39:37+00:00 List-Id: AdaMagica writes: > On Tuesday, February 4, 2014 11:34:15 PM UTC+1, Simon Wright wrote: >> So I don't see how "in Ada bits are counted [also] right to left". > You omitted the essential part of my post: LE. > "That's why LE machines count from right to left (bytes, that is); > that's why in Ada bits are counted also right to left so that we count > contiguously past byte boundaries." Sorry for misreading that. To me, the way the sentence is written 'LE' governs just 'machines'. I'd perhaps say 'that's why in Ada *running on LE machines* bits are counted' ... > Now it's quite common to put the more significant digits left to the > less significant ones. Chinese do it (in their pictographic digits 一二 > 三四五六七八九十); also arabs do it (in their digits ١٢٣٤٥٦٧٨٩٠), > although they write from right to left (they also say the most > significant part first, except for the numbers 11 to 99, they say them > like we do in German, 25 = خمسة وعشرين, hamsa wa ashrin, fünf und > zwanzig, five plus twenty). My old rugby football coach called the 25-yard line "five and twenty".