CoRecursive: Coding Stories cover image

Tech Talk: Moves and Borrowing In Rust With Jim Blandy

CoRecursive: Coding Stories

00:00

Cplus Plus Copying Behavior

In python, i can make a change too my copy, and the original one is also changed. In cepus plus you may end up inadvertently making expensive copies of something you hadn't expected to be making a copy of at all. So russ wants to leave the programme in control of the performance of their programme. And so it doesn't use a garbs collector um. It doesn't want to do the copies that sepas pus does. When you assign a vector of strings, you can have exactly the same type. But when you assign that vector to a new variable a, it will move the value. These are called linear types. The idea is that every value has two

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