"Transitive" language interoperability #1742
mallman
started this conversation in
Language design
Replies: 1 comment
-
This will depend on how the language implements its interoperability. It's something I'd assume is likely to work but is impossible to broadly promise. e.g., suppose Carbon supports generating C++ headers for some endpoints (which personally I think is likely for cross C++ compiler interop): even if language X supports interop, it could still be really unhappy with Carbon's generated headers. |
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.
-
The Carbon project includes bidirectional compatibility with C++ as a goal. I have a related question.
Hypothetically, if programming language X has C++ interoperability, will X—by design and implementation of Carbon—automatically have Carbon interoperability? This would be a nice property for any "C++ successor".
Non-hypothetically, Swift has a project/goal to enable, at least unidirectional if not bidirectional, C++ interoperability. I don't have details of that project—I'm not part of the effort. I'm just a Swift programmer who wants to use C++ libraries without hassle.
Beta Was this translation helpful? Give feedback.
All reactions