Meta Tech Podcast

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


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

Meta Tech PodcastBy Meta

  • 4.5
  • 4.5
  • 4.5
  • 4.5
  • 4.5

4.5

43 ratings


More shows like Meta Tech Podcast

View all
Freakonomics Radio by Freakonomics Radio + Stitcher

Freakonomics Radio

32,200 Listeners

Odd Lots by Bloomberg

Odd Lots

1,976 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

Decoder with Nilay Patel by The Verge

Decoder with Nilay Patel

3,137 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

HBR IdeaCast by Harvard Business Review

HBR IdeaCast

1,849 Listeners

NVIDIA AI Podcast by NVIDIA

NVIDIA AI Podcast

344 Listeners

Practical AI by Practical AI LLC

Practical AI

200 Listeners

AWS Podcast by Amazon Web Services

AWS Podcast

207 Listeners

My First Million by Hubspot Media

My First Million

2,651 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

矽谷輕鬆談 Just Kidding Tech by 柯柯與肯吉在矽谷

矽谷輕鬆談 Just Kidding Tech

162 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

10,064 Listeners

Hard Fork by The New York Times

Hard Fork

5,532 Listeners

Piers Morgan Uncensored by Piers Morgan Uncensored

Piers Morgan Uncensored

493 Listeners