David Sankel – Rust and C++ Interop [Compose Podcast]

57 points timClicks 21 comments

David Sankel from Adobe and who sits on the C++ Standards Committee discusses efforts to make it easier for Rust and C++ to work together. If you're from the C++ world and have been curious about Rust, then this episode is worth a listen.

We discuss the differing object models of the two languages, tools for working with them and proposals to update the C++ Standard to make interoperability with Rust easier.

  • cxx "safe interop between Rust and C++" - relies heavily on pinning. In David's view, this doesn't provide a very comfortable working experience for a Rust programmer.
  • crubit - a new effort by Google
  • Zngur (/zængɑr/) - a lessor-known project that makes more use of the heap than other options. This presents a smoother, more ergonomic, interface between the two languages, at the expense of zero-cost.

Compose is a software podcast featuring the Rust programming language and how it interacts with the world.