GCC 3.3 compile speed regression - AN ANSWER
Gianni Mariani
gmariani@chaincast.com
Wed Feb 12 07:17:00 GMT 2003
Linus Torvalds wrote:
>I'm guessing here, but I'd not be surprised if a few-hundred-line GUI C++
>file would tend to easily explode to a hundred _thousand_ lines with
>include files fully expanded. The front end is involved with all of them,
>while the back-end is really only involved with the original few hundred
>lines and some code expansion from inlining and macros.
>
Linus, you're reaching here ! This is not a C++ issue as much as it it
a software design / development issue.
The exact same things can be said for C.
I aslo doubt that the incremental syntactic complexity of C++ over would
contribute significantly towards
the compilation time. These again would be mainly design factors.
Let's face it, performance of the compiler is nowhere near as
significant as a kernel and the design trade
off between efficiency/performance and ease of development are different.
More information about the Gcc
mailing list