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

Rust fully protects against memory errors (and data races, for that matter).

Having "unsafe" is necessary for making useful software and, in fact, it is also present in most other safe languages: Python, Java, Haskell, etc.



Unsafe is useful and necessary for many things, but most of the time it is easier to avoid it.

However it is disingenuous to claim unsafe is necessary for making any useful software.


Howso? Without unsafe, you can't do what you need to do. That's the definition of "necessary for making useful software."


Can you define "what you need to do"?

For instance, if I want to download/parse an html webpage or make some sort of web crawler or bot, why would I need unsafe?




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

Search: