- Memory Management
-
attachments
-
[[Box
type]]
-
Normally managing memory on the heap comes from two ways:
- a garbage collector doing it for you or
- too much runtime overhead
- using malloc / free to do it yourself
- too error prone
The Rust "Borrow Checker" (inside compiler) enforces rules at compile that makes violating memory safety impossible