Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Data Types and Structures in Ada

Tags:

ada

I am working on a paper on Ada 83. We have an assignment that lists the sections of the paper (history, design goals, syntax, etc.,) The instructor has mentioned that some of us are going to have sections that simply say "This language does not support this feature."

Two of these sections are Data Types and Data Structures. Well, everything I can see indicated that Ada only has data types and not data structures. Is this true or am I missing something? I know this is kinda a weird question (asking about the 1983 version of Ada) but I don't want to make such a big claim without only to find that it was false.

like image 732
James - not really a pirate Avatar asked Dec 11 '22 21:12

James - not really a pirate


1 Answers

I assume that by "data structures" you mean linked lists, stacks, queues etc.

In Ada83 you could implement data structures, but the standard library didn't contain any. Non-standard libraries were available.

The same was true in Ada95, but the new object-oriented programming features resulted in several open-source container libraries, many of which are still available.

Part of the Ada05 revision was the introduction of a standardised container library Ada.Containers, which has been extended in the Ada12 revision.

like image 120
Simon Wright Avatar answered Feb 11 '23 15:02

Simon Wright