D
Douglas A. Gwyn
Ross said:Well, no, saying a hello world program is strictly conforming doesn't mean
the concept is practical. Essentially they're just arguing over whether
the term is completely meaningless or not. If Doug Gwyn is correct we're
still left with very few non-trivial strictly conforming programs that do
anything useful. It's a theoretical concept rather than a practical one.
It is certainly true that most of today's commercial software
cannot be implemented as strictly conforming C programs, because
they must interface to system-specific facilities (such as bitmap
graphics) that are not specified by the C standard itself. But
the role of strict conformance in establishing the "treaty point"
between the C provider and the C consumer is extremely practical,
and the vast majority of code in many major applications could be
implemented using code that is suitable for use in strictly-
conforming programs, which is usually a good idea since it
facilitates porting the application to a different platform.
It is also the case that a great many useful programs *can* be
implemented as strictly conforming C programs, if their operating
context is similar to that of the traditional Unix "shell"
environment. (I.e. a command-line interface.) I have a large
collection of useful programs, used for example in cryptanalysis,
that are either strictly conforming to the C standard or else
could readily be made strictly conforming.