Topic: Features make compilers slow; was Featuritis


Author: bobatk@microsoft.UUCP (Bob ATKINSON)
Date: 13 Aug 91 16:12:42 GMT
Raw View
Jim ADCOCK writes:
-(Matt Mahoney) writes:
-
-[complaining about a ton of features slowing C++ compilers down.]
-
--- I am only aware of a couple features in C++ that really slow compilers
-down. [...]
-used before declared, [...]
-macro definitions in header files, preventing a general solution
-to precompiled headers.

[...]
-Same preprocessor problems mucks up interpreters and incremental compilations.

Sorry, Jim, but you've tickled a pet peeve of mine:

Yes, if you use 1960's batch compiler technology, things will be slower.
Imagine, in analogy, doing wysiwyg text with the troff engine. New features
mean we have to get smarter about our compilers, but there is nothing
*inherent* in the features you list that makes a compiler slower.

Macro definitions in header files do not preclude smart recompliation.
It's just a bit subtler, that's all.

 Bob