[J3] Ada 2022 overview

Van Snyder van.snyder at sbcglobal.net
Thu Nov 6 19:12:18 UTC 2025


I downloaded the overview of changes from Ada 2012 in Ada 2022.

http://www.ada-auth.org/standards/22over/Ada2022-Overview.pdf

The main areas are Parallelism, Contracts, Containers and Iterators,
Additional Internationalisation, and Real Time.

The parallel loop construct is like Fortran's DO CONCURRENT.

The parallel do construct is like the proposed PARALLEL FORK … FORK …
END PARALLEL construct, which Bill Long pointed out could be realized
more verbosely as a DO CONCURRENT with a SELECT CASE inside.

They didn't add asynchronous blocks because they can too easily lead to
deadlocks. They realized fairly early on that using tasks for
asynchronous parallelism inherently reqjires high overhead. They
invented an overhead called "protected variables," which are
essentially coroutines. These are described in "Concurrent and Real-
Time Programming in Ada" by Alan Burns and Andy Wellings.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251106/b1e003d1/attachment.htm>


More information about the J3 mailing list