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: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Oberon and Wirthian languages Date: Tue, 22 Apr 2014 00:21:55 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1ljwj8f.1wqbhvuabsdw1N%csampson@inetworld.net> <51c7d6d4-e3be-44d5-a4ce-f7e875345588@googlegroups.com> <%J32v.70539$kp1.45343@fx14.iad> <8761m535e4.fsf_-_@ludovic-brenta.org> Injection-Date: Tue, 22 Apr 2014 00:21:55 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="17049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XeSaitP9HvEgygA6Vc26yX5eregyOq3w=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:gK8uxPd6cYaUS3wVpLvCEkId+qk= X-Original-Bytes: 2807 Xref: number.nntp.dca.giganews.com comp.lang.ada:185923 Date: 2014-04-22T00:21:55+00:00 List-Id: On 2014-04-21, Randy Brukardt wrote: > "Shark8" wrote in message > news:mHd5v.110220$nm4.61317@fx27.iad... > ... >> So it's not unaddressed in Ada, but it is a little awkward; I think some >> of these could be helped by Ada 2012 aspects though [Size & Bit_Order on >> the component types]. (There's also the question of what happens when a >> component type of the opposite Bit_Order is included... that may be >> answered in the LRM, but I simply don't recall reading it.) > > The RM definitely describes what happens in the alternative bit-order. > Unfortunately, the description will probably give you a headache. All of the > stuff about "machine scalars" relates to this subject. It's not an easy > subject at all. > Shark8's message has not shown up at Eternal September, so I am replying to Randy's extract above. I did know about the bit ordering options in Ada, but thanks. The "absolutely crazy" comment was directed towards what we have to do in C and the fact I would like to see something much better in any C language replacement. BTW, stuff like this is exactly the kind of thing we could introduce into a new language without reducing the "hackability" that many C programmers seem to look for in their language choice (as people here have reminded me several times over the last few days :-)). Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world