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

That’s my take after using Rust for half a decade. The type system is very powerful and can encode logic in types in a way that’s impossible in most other languages, which is how the borrow checker works (the lifetime of a reference is part of its type).


> can encode logic in types in a way that’s impossible in most other languages

It’d be of great help if you could share an example of this along with an explanation why it’s impossible in a different language say one of Java/C++/Go




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

Search: