Ada Programming/Ada 2022

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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

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


Summary of what's new

[edit | edit source]

New profile

[edit | edit source]

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 | edit source]
  • 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 | edit source]

New pragmas

[edit | edit source]

New aspects

[edit | edit source]

New attributes

[edit | edit source]

New packages

[edit | edit source]

See also

[edit | edit source]

Wikibook

[edit | edit source]