CoRecursive: Coding Stories cover image

Tech Talk: Moves and Borrowing In Rust With Jim Blandy

CoRecursive: Coding Stories

00:00

Cplus Plus Assignments - The Basics of Python Programming

In python, assignment can consume arbitrary amounts of time and memory. If you take that list of three strings and you assign it to two other variables, you will have copied the entire thing over twice. And so this is kind of surprising, right? Because you'd think the imean assignment is such a primitive operation. It's the same for like, passing values to functions onorgonal building data structures. These are all onot this, this this fundamentalop assignments like operation. In python, its cheap to assign, but then you have to have a complicated thing to track when to get rid of things.

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