Ada Programming/Interfacing


Ada Lovelace 1838.jpg

InterfacingEdit

Ada is one of the few languages where interfacing is part of the language standard. The programmer can interface with other programming languages, or with the hardware.

Other programming languagesEdit

The language standard defines the interfaces for C, Cobol and Fortran. Of course any implementation might define further interfaces — GNAT for example defines an interface to C++.

Interfacing with other languages is actually provided by pragma Export, Import and Convention.

Hardware devicesEdit

Embedded programmers usually have to write device drivers. Ada provides extensive support for interfacing with hardware, like using representation clauses to specify the exact representation of types used by the hardware, or standard interrupt handling for writing Interrupt service routines.

See alsoEdit

WikibookEdit

Ada Reference ManualEdit

Ada 95 RationaleEdit

Ada Quality and Style GuideEdit

Last modified on 12 October 2009, at 17:24