5min chapter

Oxide and Friends cover image

Predictions 2023!

Oxide and Friends

CHAPTER

The Problem With Tree Borrows

Tree borrows is a new way of implementing aliasing in rust. The biggest change with tree borrows is that turning a pointer into a reference doesn't shrink its province to the size of the reference and so you can then cast back to a raw pointer and offset it outside the size of  thereference right? It's very useful yes but uh as far as it's brutal it is brutal the i i i use this pattern a lot in c and breaking this pattern for me was a big part of learning rust and accepting that that pattern was no longer going to be part of what i i just like that I thought of as intrusive data structures where you got a data structure within a data

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