I think the problem lies within Rust itself. It requires devs to think in a very different way, and write explicit code with borrows.
When writing an application, the ideal would be to write all the wrapper and high level code in a language like Python, while having the performance low level code that shares memory in Rust. Right now this requires a lot of setup.
Comments
I think the problem lies within Rust itself. It requires devs to think in a very different way, and write explicit code with borrows.
When writing an application, the ideal would be to write all the wrapper and high level code in a language like Python, while having the performance low level code that shares memory in Rust. Right now this requires a lot of setup.
You can absolutely leak memory in rust. There’s even an API for doing it easily. (Box::leak)