Comment on How One Uncaught Rust Exception Took Out Cloudflare

<- View Parent
8uurg@lemmy.world ⁨1⁩ ⁨month⁩ ago

And it still cleans up once the ownership model indicates it can be cleaned up. That does not ensure memory is never leaked, but it is equivalent to destructors running automatically when using unique ptr or shared ptr without cycles in C++, which avoids at least a portion of possible memory leaks.

source
Sort:hotnewtop