Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

According to this post :

How much truth is in this post? Should it be taken seriously by hardcore C++ programmers (game devs etc)??

Edit : There's another purpose to this question... Will C# be backward compatible with C++?

share|improve this question

closed as not constructive by thorsten müller, Steve Evers, gnat, Walter, Jan Hudec Nov 28 '12 at 13:29

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

+1 because the linked job postings on the Microsoft site do indeed mention a compiler for c# and C++ – MarkJ Nov 28 '12 at 8:48
I wonder why its not in the news these days.... – user73830 Nov 28 '12 at 9:13
Both C# and C++ can benefit from the same optimisations performed over a common IR, therefore it might make sense to have a unified compiler. – SK-logic Nov 28 '12 at 13:31
Why should it be backward-compatible? These languages are too different, which does not mean they cannot both share the same compiler middle layer (while still targeting the different backends). – SK-logic Nov 28 '12 at 13:40
E.g., the polyhedral analysis (which they've mentioned explicitly in the ad) will be exactly the same for both languages, with some additional dependency on aliasing analysis for the C++ frontend. – SK-logic Nov 28 '12 at 13:43
up vote 8 down vote accepted

Not a chance in hell. It would take the most drastic refactoring of a language ever to make it work with C++ and it would break every inch of existing C# code. They're most likely just trying to share the same native code generation framework.

share|improve this answer

Probably incorrect in the specifics. MS already has a native MSIL compiler in the form of Ngen. It wouldn't surprise me if both Ngen and cl used the same code gen back end so that they share improvements like the mentioned auto vectorization.

share|improve this answer
No, cl does not share any common backend with ngen. – SK-logic Nov 28 '12 at 14:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.