Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well yes for starters this is not an optional check and it’s not on just “bug-prone” moves it’s on all for them.

Then it also has a borrow checker so if you refer to the content of an other object the langage ensures the (non-owning) pointer does not outlive the pointee, at compile-time. Though this concept is lexical so it’s quite restrictive.

And then it encodes some forms of thread-safety in the langage directly.

It also removes things like nullable pointers.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: