Can we write a C++ to Carbon translator for Carbon Language to achieve C++ compatibility? #6832
Closed
cnlnr
started this conversation in
Language design
Replies: 1 comment
-
|
carbon-lang/docs/project/roadmap.md Lines 139 to 141 in 15680ba |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I don't know C++, and I'm not sure if this idea is useful for the team, but I'd like to provide this as a suggestion for the language.
My idea is that developing such a code translator has this benefit: it can turn C++ projects into Carbon projects with one click. Or automatically convert C++ libraries into Carbon when importing them, thereby achieving compatibility with C++.
Beta Was this translation helpful? Give feedback.
All reactions