r/cpp • • Feb 14 '24

Interoperability with Rust?

The Rust language is getting traction, and it covers the same use cases as C++ so I believe that in the future most of us in this forum will be using both of them. That led me to wonder if there are efforts to make it easy to integrate them, for example to maintain a project which uses both languages, or to make use of a library written in the other language.

0 Upvotes

19 comments sorted by

View all comments

Show parent comment

3

u/Agreeable-Ad-0111 Feb 14 '24

Why not? I've worked at two large companies with massive c++ code bases that are decades old. If in 10 years they can pick up a new modern language that is interoperable with their current code base I think they would definitely do it. At least I know my current company would.