Linked by Thom Holwerda on Tue 1st Jun 2010 15:12 UTC
General Development "I am pleased to report that the GCC Steering Committee and the FSF have approved the use of C++ in GCC itself. Of course, there's no reason for us to use C++ features just because we can. The goal is a better compiler for users, not a C++ code base for its own sake. Before we start to actually use C++, we need to determine a set of coding standards that will apply to use of C++ within GCC."
Thread beginning with comment 427646
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: LLVM
by google_ninja on Wed 2nd Jun 2010 02:28 UTC in reply to "RE[2]: LLVM"
google_ninja
Member since:
2006-02-05

you are talking about idioms more then anything, I mean, you can do OO in C and you can do procedural in C++. I don't think they intend to do sweeping architectural changes or anything like that. Also, anything that is valid c is also valid c++, that makes c++ a superset of c, not just based on it. You could say java is at least partially based on c++, that doesn't mean you can compile c++ code to java.

Reply Parent Score: 2

RE[4]: LLVM
by siride on Wed 2nd Jun 2010 03:00 in reply to "RE[3]: LLVM"
siride Member since:
2006-01-02

This is no longer true. There are things that are valid in C, but not C++. I can't be bothered to Google for the details, but I'm sure if you care you can find more than enough about that subject.

Reply Parent Score: 3

RE[4]: LLVM
by tylerdurden on Wed 2nd Jun 2010 18:20 in reply to "RE[3]: LLVM"
tylerdurden Member since:
2009-03-17

Procedural and object oriented paradigms are not mutually exclusive.

Both C and C++ are procedural languages (both in the sense of them being imperative languages, and in the sense of using procedures as the basis for modular object assembly).

In fact, almost any object oriented paradigm is by definition based on procedural approaches.

So it would be correct to say that C and C++ are both procedural languages, and only C++ is the object oriented one.

Reply Parent Score: 2