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!border1.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 (was: Heartbleed) Date: Mon, 21 Apr 2014 18:13:27 +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: Mon, 21 Apr 2014 18:13:27 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="30798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ThjLpj+zw5YB/72msoLtPAprsOz3Chrg=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:iet7VtfqjifIYCeYOFrU80bvdKs= X-Original-Bytes: 2398 Xref: number.nntp.dca.giganews.com comp.lang.ada:185912 Date: 2014-04-21T18:13:27+00:00 List-Id: On 2014-04-21, Simon Clubley wrote: > On 2014-04-19, Ludovic Brenta wrote: >> - Representation clauses for device registers (record field selection >> rather than bit masks). > > Getting rid of C style masks should be a major goal and the above is > required but not sufficient. > That's C style masks for device registers, BTW. There's still a requirement for masks for general operations. In addition to your list, there one additional thing I forgot to mention. I would allow some way of specifying that a struct/record (or some of it's components) is of a specific endian type and then allowing the compiler to generate the code itself to handle the big/little endian conversion as required. It's absolutely crazy that in 2014 we are still writing code which requires that knowledge to be manually encoded within the program code itself (in the form of macros) instead of just placing that information within the data type which is where it belongs. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world