News for hackers. Stuff that matters.
Re:Rejuvenating the Microsoft C/C++ Compiler by pjmlp on Saturday September 26, 2015 @02:57PM (#10284058)
Yes, parsing is way harder because C++ requires the context aware grammar.

However many C++ incompatibilities are actually caused by C compatibility and the goal of having higher constructs that are copy paste compatible with C but with additional semantics, e.g. structs.

So in both cases, to achieve your portability goal the languages would have to be fully specified.

Re:Rejuvenating the Microsoft C/C++ Compiler by uxcn on Saturday September 26, 2015 @05:26PM (#10284474)
C and C++ are admittedly different languages, but I would think more than less of the code for compiling both languages should be the same. I personally can't see how one language would impede the other.

As a C/C++ user, I'm honestly still not sure why a number of C features have yet to be formalized in C++ (e.g. restrict).