logoalt Hacker News

niccetoday at 11:43 AM1 replyview on HN

> Type checking and lifetime ownership eliminate some, but not all of them.

They actually remove certain classes completely. E.g. lifetime ownership in Rust removes all bugs related to the reason why it is in the code syntax (a.k.a. lifetime markers remove use-after-free completely in Rust.)


Replies

mungaihahatoday at 6:57 PM

Almost like how RAII in C++ does it?

show 1 reply