Nikolay Nikolov wrote:

Almost like Pascal's units. :) Although they don't include namespaces and
not intended for binary distribution.
Yes, I know about them, but come on... Turbo Pascal introduced units in 1987 (in TP4). I think UCSD Pascal had them even before that (I never used UCSD, so I don't know). Since then, they've become de facto standard in pretty much every Pascal implementation that matters (even though they're not in ISO Pascal). C++ has a draft proposal in 2012 (only 25 years after TP4) and only one compiler implementation in 2015.

On the other hand, C and C++ are children of ALGOL, and the early major ALGOL implementations tended towards conditional inclusion etc. rather than separate compilation. I think that separate compilation with a linkage editor was originally an IBM mainframe thing, Wirth was exposed to it at the end of his time at Stanford when they added an IBM 360 to the existing Burroughs systems (some stories have it that the ALGOL systems were thrown out, but I suspect that they were actually transferred to SRI).

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-other maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other

Reply via email to