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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7e490a18b9688bd9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.47.134 with SMTP id d6mr865092pbn.0.1316004488775; Wed, 14 Sep 2011 05:48:08 -0700 (PDT) Path: m9ni6099pbd.0!nntp.google.com!news1.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feedme.ziplink.net!news.swapon.de!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Stream_Element_Array Date: Wed, 14 Sep 2011 14:48:18 +0200 Organization: cbb software GmbH Message-ID: References: <1e6rw4vto3ldb.i8d7fxixapx4.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.lang.ada:17963 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2011-09-14T14:48:18+02:00 List-Id: On Wed, 14 Sep 2011 11:53:13 +0100, Simon Wright wrote: > I know the RM doesn't specify this, and goes out of its way to allow > 9-bit bytes and 36-bit storage units. But how many real-life situations > are there where Stream_Element'Size isn't 8? Why not to mandate it 8-bit then? Even if the machine does not support memory access to octets, I think it would be worth the efforts to have the compiler doing packing/unpacking stuff, rather than the programmer. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de