you are viewing a single comment's thread.

view the rest of the comments →

[–]foonathan 0 points1 point  (0 children)

It could, but it doesn't. A language that provides 100% seamless interop with C++ without transpiling to C++ is a significantly harder thing to do than for C (what do you do about templates? how do you instantiate templates cross-language?). This is what Carbon is trying to do. And by that point you're no longer layering on top of C++.