low level optimization

Jim Giles jlg at cochiti.lanl.gov
Sat Apr 20 09:09:13 AEST 1991



> This has never been the case.  Using pre-ANSI syntax:
> B:
> 	some_routine(123);
>
> A:
> 	some_routine(arg)	{...
>
> A after editing:
>	some_routine(flag, arg)

Irrelevant to this discussion since it was always clearly understood
(and clearly stated at the beginning of the discussion) that the valid
means of communication between separately translated units were external
functions and external variables.  If you introduce a change which makes
these incompatible, you have stepped outside the domain of this discussion.

The main purpose of separate compilation is two-fold: to save compilation
time when only part of the code has been modified and to allow a vendor
to alter his libraries for revisions without having to distribute the
_whole_ library again or distribute source.  Presumably, incompatible
revisions require more effort than the more common compatible ones.

J. Giles



More information about the Comp.lang.c mailing list