Ada 95 Quality and Style Guide | Chapter 7 |
Given the objectives for these features, it is not surprising
that you must usually pay a significant price in portability to
use them. In general, where portability is the main objective,
do not use these features. When you must use these features, encapsulate them in packages that are well-commented as interfacing to the
particular target environment. This section identifies the various
features and their recommended use with respect to portability.
7.6 REPRESENTATION CLAUSES AND IMPLEMENTATION-DEPENDENT FEATURES
Ada provides many implementation-dependent features that permit
greater control over and interaction with the underlying hardware
architecture than is normally provided by a high-order language.
These mechanisms are intended to assist in systems programming
and real-time programming to obtain greater efficiency (e.g.,
specific size and layout of variables through representation clauses)
and direct hardware interaction (e.g., interrupt entries) without
having to resort to assembly level programming.
< Previous Page
Search
Contents
Index
Next Page >
1
2
3
4
5
6
7
8
9
10
11
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
TOC
Appendix
References
Bibliography