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

And Rust out of the box is safe by default, and you never have to resort to using unsafe {} blocks in normal usage.

I'm not trying to fight some religious war here. You want to use Ada? Great! But don't pretend that the existence of the unsafe keyword somehow makes Rust unacceptably impure. The same escape hatches exist in every other "safe" language outside of the one toy example whose entire niche purpose was to avoid unsafe, and which no one uses now because the language is ossified and non-extensible.

 help



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

Search: