Comment on How One Uncaught Rust Exception Took Out Cloudflare

<- View Parent
Mechanize@feddit.it ⁨18⁩ ⁨hours⁩ ago

You can leak data in perfectly safe Rust, because it is not a bug per se, an example is by using Box::leak

Preventing memory leaks was never in the intentions of Rust. What it tries to safeguard you from are Memory Safety bugs like the infamous and common double free.

source
Sort:hotnewtop