Ada Programming/Ada 2022


This is an overview of the major features that are available in Ada 2022, the most recent version of the Ada standard.

Ada. Time-tested, safe and secure.
Ada. Time-tested, safe and secure.


Summary of what's new

edit

New profile

edit

Jorvik is a subset of the Ada tasking capabilities, similar to Ravenscar and which imposes fewer restrictions, removing the following ones compared to the Ravenscar profile:

  • No_Implicit_Heap_Allocations
  • No_Relative_Delay
  • Simple_Barriers
  • Max_Entry_Queue_Length => 1
  • Max_Protected_Entries => 1
  • No_Dependence => Ada.Calendar
  • No_Dependence => Ada.Synchronous_Barriers

New syntax

edit
  • Assignment target name @
  • Square brackets for array aggregates
  • Default initial conditions for types
  • Default generic parameters
  • Declare expressions
  • Reduction expressions
  • Iteration filters
  • Generalized literals

New keywords

edit

New pragmas

edit

New aspects

edit

New attributes

edit

New packages

edit

See also

edit

Wikibook

edit