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-Thread: 103376,5ae752c88e0dde5e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Using representation clauses in networking software Date: Sun, 15 Aug 2010 22:24:27 +0100 Organization: A noiseless patient Spider Message-ID: References: <8739ugqfeb.fsf@mid.deneb.enyo.de> <43fkp7an4c5m$.3db3n6adym42.dlg@40tude.net> <8739ugkka6.fsf@mid.deneb.enyo.de> <1pjh30gv98n9t$.lycfvhr1l9rz$.dlg@40tude.net> <87tymvhoy5.fsf@mid.deneb.enyo.de> <1x3jdyxqnl1e7.xlqx0giurt0x.dlg@40tude.net> <1uzfyshtk9wpq.1ft0ehpgbw60k.dlg@40tude.net> <1182a142-b95e-4349-bbb5-aa82fbd5da6f@a36g2000yqc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 15 Aug 2010 21:24:27 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="21288"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xdojxn7vxxicxBLGQf8xVWA4+WIahz9E=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:xzmV4QfKpBn50Uu6ofx3AoS9pZw= sha1:zYrDOVYRjYbwZffeXKXp82H3/fE= Xref: g2news1.google.com comp.lang.ada:13365 Date: 2010-08-15T22:24:27+01:00 List-Id: Maciej Sobczak writes: > On 15 Sie, 21:15, Simon Wright wrote: > >> Stick to network-byte-order on the wire, > > Just when ~99% of hardware in use is little-endian? Sounds like a > lost optimization opportunity with absolutely no overall gain. Perhaps I'm too used to working in an environment where it's fairly evenly split! And in which the place where performance is crucial is on a PowerPC. If you know that your project will never talk to BE systems then even I would have to agree there is a case.