Skip to content
63: The key to a happy Rust/C++ relationship episode artwork

EPISODE · May 30, 2024 · 45 MIN

63: The key to a happy Rust/C++ relationship

from Meta Tech Podcast

Aida was part of one of the first Rust teams here at Meta. One of the biggest challenges was interacting with the large amount of existing C++. With the release of cxx, safe interop between C++ and even async Rust has become a lot easier. Got feedback? Send it to us on Threads (https://threads.net/@metatechpod), Twitter (https://twitter.com/metatechpod), Instagram (https://instagram.com/metatechpod) and don't forget to follow our host @passy (https://twitter.com/passy, https://mastodon.social/@passy, and https://threads.net/@passy_). Fancy working with us? Check out https://www.metacareers.com/. Links Aida's talk at Rust Nation: https://youtu.be/tsEuA9S5q9Q cxx: https://crates.io/crates/cxx Sapling: https://sapling-scm.com/ Timestamps Intro 0:06 Aida Intro 2:06 Rust in Meta Source Control 2:50 State of Rust at Meta 10:11 bindgen 13:25 cxx vs bindgen 17:49 async Rust and C++ 19:04 Dealing with Lifetimes 28:19 Fixing Memory Leaks 31:25 Thread safety with Send and Sync 33:48 A Magic Wand for Async Rust 39:52 Outro 43:04 Outtakes 43:50

Episode metadata supplied by the publisher feed · Published May 30, 2024

Embed this episode

Ready to play

63: The key to a happy Rust/C++ relationship

0:00 45:00

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Meta Tech Podcast?

This episode is 45 minutes long.

When was this Meta Tech Podcast episode published?

This episode was published on May 30, 2024.

Can I download this Meta Tech Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!