comp.lang.ada
 help / color / mirror / Atom feed
From: dirk@orka.cs.kuleuven.be. (Dirk Craeynest)
Subject: What's new in Ada 2022? (was: Re: who needs types? Types makes code ugly.)
Date: Sat, 4 Jun 2022 12:05:55 -0000 (UTC)	[thread overview]
Message-ID: <t7fhr3$uoa$1@dont-email.me> (raw)
In-Reply-To: t7e8v9$3et$1@dont-email.me

In article <t7e8v9$3et$1@dont-email.me>,
Randy Brukardt <randy@rrsoftware.com> wrote:
>"Niklas Holsti" <niklas.holsti@tidorum.invalid> wrote in message 
>news:jfv2hsF2jgfU1@mid.individual.net...
[...]
>> For Ada 2022, see the Intro in the RM: 
>> http://www.ada-auth.org/standards/ada2x.html
>>
>> For Ada 2022 I don't think there is any "Rationale" document (yet), but 
>> there are various summaries and introductions, for example 
[...]
>It is not likely that there will be an Ada 2022 Rationale, as no one has 
>stepped up to write it or pay John Barnes write it. The closest thing we 
>have is the Jeff Cousins overview, which I can't find an on-line reference 
>to (or my copy, for that matter). I'll check with Jeff and hopefully get 
>more information.
>                                Randy.

Two additional sources of information on Ada 2022 exist:
- the Ada User Journal;
- the new book by John Barnes.

The Ada User Journal (AUJ, http://www.ada-europe.org/auj/home) has
published several articles the last few years about the changes in
Ada 2022 (then called Ada 220x).

The latest contribution was the above mentioned overview by Jeff
Cousins.  It is available from the AUJ online archive:

  Ada User Journal, Volume 41, Number 3, September 2020
  Jeff Cousins: "An Overview of Ada 202x", pp.159-175
  http://www.ada-europe.org/archive/auj/auj-41-3-withcovers.pdf?page=43

And then there's of course the new edition of John Barnes' book:

  "Programming in Ada 2012 with a Preview of Ada 2022"
  https://www.cambridge.org/core/books/programming-in-ada-2012-with-a-preview-of-ada-2022/AD30275F35CCECB97EAB80ABC32B019C

Previews of the various sections are available on the cambridge.org
site mentioned above, such as the first page of the Preface at
https://www.cambridge.org/core/books/abs/programming-in-ada-2012-with-a-preview-of-ada-2022/preface/21277D825A1D24906949F642B4AD8BE8

That page includes:
  "[...] the main chapters describe the 2016 updated version of Ada
  2012 in detail. The book concludes with a major appendix describing
  the key new features of Ada 2022".
(2016 refers to the year of publication by ISO of the Corrigendum
which revised Ada 2012.)

I asked John Barnes about the differences between the original
"Programming in Ada 2012" and this new book, apart from the extra
appendix on Ada 2022.  He provided the following info.

  "The main changes are twofold.

  In the main body, I have updated it to cover all changes introduced
  by the 2016 corrigendum. I have corrected all known errors (there
  were quite a lot) and many cross references were wrong.

  An idea of the amount of change can be gathered by noting that the
  original version had just 6 AIs mentioned in the Index. The new
  edition mentions 55 AIs in the index.

  I also updated the text of the main body to use aspects rather than
  pragmas where relevant.

  So the body is now Ada 2016 although we don't usually talk about
  that.

  The new appendix (46 pages) covers all major features of Ada
  2022. The associated website also has things such as the full
  syntax for Ada 2022 in a style matching the book (that's another
  30 pages). Also an updated table of the facilities in containers
  (14 pages). And some worked examples using new features especially
  using the big integer packages (currently another 14 pages).

  Each chapter of the main book ends with a checklist outlining the
  new features and referring to the appropriate place in appendix 4
  where they are discussed.

  -- John Barnes, 14 May 2022, with permission"

I hope this helps.

Dirk Craeynest

  reply	other threads:[~2022-06-04 12:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02  3:21 who needs types? Types makes code ugly Nasser M. Abbasi
2022-06-02  8:00 ` Doctor Who
2022-06-02  8:37   ` Dmitry A. Kazakov
2022-06-02 10:08     ` Nasser M. Abbasi
2022-06-02 10:39       ` Dmitry A. Kazakov
2022-06-02 13:22     ` Stéphane Rivière
2022-06-06 23:26     ` Jerry
2022-06-02 10:47 ` Jeffrey R.Carter
2022-06-02 11:47 ` ldries46
2022-06-02 15:02   ` Ben
2022-06-02 22:10     ` John Perry
2022-06-03  0:02       ` Ben
2022-06-03  3:37         ` Dennis Lee Bieber
2022-06-03 18:13           ` Ben
2022-06-03 18:34             ` Niklas Holsti
2022-06-03 20:27               ` John Perry
2022-06-03 20:56               ` Ben
2022-06-04  0:28               ` Randy Brukardt
2022-06-04 12:05                 ` Dirk Craeynest [this message]
2022-06-17 17:33                 ` Wesley Pan
2022-06-17 20:46                   ` Paul Rubin
2022-06-18  2:06                   ` Randy Brukardt
2022-06-18 10:29                     ` Dirk Craeynest
2022-06-18 22:16                       ` Paul Rubin
2022-06-20 21:40                       ` Randy Brukardt
2022-06-02 17:28 ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox