Oxide and Friends cover image

Predictions 2023!

Oxide and Friends

00:00

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

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app