logoalt Hacker News

skydhashtoday at 11:30 AM2 repliesview on HN

I’ve not seen any languages that does not require meticulous care to avoid runtime bugs. Type checking and lifetime ownership eliminate some, but not all of them.


Replies

niccetoday at 11:43 AM

> 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.)

show 1 reply
foostertoday at 11:35 AM

So less meticulous care then?

show 1 reply