What's new in GCC 4.5?
Posted May 14, 2010 2:40 UTC (Fri) by
pr1268 (subscriber, #24648)
Parent article:
What's new in GCC 4.5?
GCC 4.5 is the first release of GCC that can be compiled with a C++ compiler.
I had to think about this for a moment. Why? Isn't GCC already working just fine (i.e. fast and [reasonably] efficient) as is in C? Then, visiting GNU's GCC page link in the article, I began to wonder if the developers want to use those features of C++ not present in C for the compiler? (Like classes, OO, and templates.)
Of course, any compiler can be written in any Turing-complete language. Even the 2nd edition of the Dragon Book has the source for a front-end written in Java.
My questions border on rhetorical, but perhaps I'm just trying to stimulate a discussion on this. Thanks!
(
Log in to post comments)