
Refactoring to Rust with Lily Mara
Rustacean Station
00:00
How to Use a Function to Reallocate Data in Python
Dart has its own ffi package that you can add into your project from the Dart team or this is actually built into Dart language itself because they have their own ffi. It's also confusing in Rust too because it's like, should I pull in this C-lib or should I, you know, there's an ffi section within Rust and then there's also C-string and it just gets kind of overwhelming. They're all over the place. Yeah, it's really had to get you around it. If you are sharing allocations, if you allocate something in Rust, you should not expect that allocation to be cleaned up by some other language. Because that cleanup is either
Transcript
Play full episode