Recent Articles



































Ada (programming language)



         


Ada is a structured, statically typed programming language, designed by Jean Ichbiah of Cii Honeywell Bull in the 1970s. It is positioned to address much the same tasks as C or C++. Ada was named after Ada, Lady Lovelace, the first computer programmer.

[Top]

Features

Ada was originally targeted at embedded and real-time systems, and is still commonly used for those purposes. The Ada 95 revision (designed by Tucker Taft of Intermetrics between 1992 and 1995) improved support for systems, numerical, and financial programming.

Notable features of Ada include Strong typing, run-time checking, parallel processing, exception handling, and generics. Ada 95 added support for object-oriented programming, including dynamic dispatch.

Ada implementations do not typically use garbage collection for storage management. Ada supports a limited form of region-based storage management, which allows some cases of access to unallocated memory to be detected at compile time.

Ada supports run-time checks in order to protect against access to unallocated memory, buffer overflow errors, off by one errors, and other avoidable bugs. These checks can be disabled in the interest of efficiency. It also includes facilities to help program verification. For these reasons, it is very widely used in critical systems like avionics, weapons and spacecraft.

It also supports a large number of compile-time checks to help avoid bugs that would not be detectable until run-time in some other languages or would require explicit checks to be added to the source code.

The Ada language definition is unusual among International Organization for Standardization standards in that it is Free content. One result of this is that the standard document (known as the Reference Manual or RM) is the usual reference Ada programmers resort to for technical details, in the same way as a particular standard textbook serves other programming languages.

[Top]

History

In the 1970s, the US Department of Defense was concerned by the number of different programming languages being used for its projects, some of which were proprietary and/or obsolete. In 1975 the Higher Order Language Working Group (HOLWG) was formed with the intent of reducing this number by finding or creating a programming language generally suitable for the department's requirements; the result was Ada. The total number of high-level programming languages in use for such projects fell from over 450 in 1983 to 37 by 1996.

The working group created a series of language requirements documents - the Strawman, Tinman, and Ironman (and later Steelman) documents. Many existing languages were formally reviewed, but the team concluded in 1977 that no existing language met the specifications.

Requests for proposals for a new programming language were issued and four contractors were hired to develop their proposals under the names of Red (Intermetrics), Green (Cii Honeywell Bull), Blue (SofTEch), and Yellow (SRI International). In May of 1979, the Green proposal, designed by Jean Ichbiah at Cii Honeywell Bull, was chosen and given the name Ada. This proposal was a successor to the programming language LIS that Ichbiah and his group had developed in the 1970s.

The Military Standard reference manual was approved on December 10, 1980 (Ada Lovelace's birthday).

The US Department of Defense (DOD) required the use of Ada (the Ada mandate) for every software project where new code was more than 30% of result, though exceptions to this rule were often granted. This requirement was effectively removed in 1997, as the DOD began to embrace Commercial Off The Shelf (COTS) technology. Similar requirements existed in other North Atlantic Treaty Organization countries.

The language became an ANSI standard in 1983 ( (1815 is Ada Lovelace's birthyear)), and an ISO standard in 1987 (ISO-8652:1987). This version of the language is commonly known as Ada 83, from the date of its adoption by ANSI.

Ada 95, the joint ISO/ANSI standard () is the latest standard for Ada. It was accepted in February 1995 (making Ada 95 the first ISO standard object-oriented programming language). To help with the standard revision and future acceptance the US Air Force funded the development of the GNAT Compiler.

Work continues on improving and updating the technical content of the Ada programming language. A Technical Corrigendum to Ada 95 was published in October 2001. Presently, more work is being done to produce an Addendum to Ada 95 expected in 2005.

[Top]

"Hello, World!" in Ada

A common example of a language's syntax is the Hello world program. There are shortcuts available for "Ada.Text_Io.Put_Line", needing less typing, however they are not used here for better understanding.

with Ada.Text_Io; procedure Hello is begin Ada.Text_Io.Put_Line("Hello World!"); end Hello;
[Top]

The Ariane 5 failure

There are mainly three points of view for the reason of the loss of a European Space Agency Ariane 5 rocket. The first point of view argues that the reason was a bug in an Ada program, which is technically seen true. Another possible standpoint is, that the problem was the disabling of Ada's runtime checks. The final viewpoint is that the problem was a design decision to reuse a part and its software from the Ariane 4 rocket without adequate analysis of its suitability or tests on Ariane 5 data. See also Ariane 5 Flight 501.

[Top]

See also

[Top]

References










  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License