3 ms·
> and using the guarantees of Rust is guaranteed not to crash the VM or leak memory. Very interesting article. However, I do no think that Rust guarantees not
by RcouF1uZ4gsC 4y ago
> and using the guarantees of Rust is guaranteed not to crash the VM or leak memory.
Very interesting article.
However, I do no think that Rust guarantees not to leak memory. It guarantees to double frees or dangling pointers, but it does not guarantee no leaks. One example would be making a cycle using Rc.
- slaymaker1907 4y agoIt's even easier than that, just use Box::leak.