4min chapter

Oxide and Friends cover image

Rack-scale Networking

Oxide and Friends

CHAPTER

Code Generation in Rust

Before oxide, I had done a very small amount of rust. The ecosystem around code generation in rust is just flat out amazing. There's so much that you can go do to actually make this comprehensible and extraordinarily powerful. And we are using that up and down the stack. So if you wanted to have P4 pipeline code directly used from your Rust code, you just say use P4, point it at your P4 code. That'll kick in the compiler library, compile it, or splat all that generated Rust code into your current workspace. It's really cool. Right? Because I mean, this is part of why we're so programmable on P4 and programmable

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode