Y
Hacker News
new
|
ask
|
show
|
jobs
by
skariel1
3221 days ago
It is still safer than c, as it will not allow any segfaults. The only thing that can happen is a runtime error but no memory corruption so it is more akin to say Java or Go
2 comments
steveklabnik
3221 days ago
The context of this thread is unsafe, which can segfault.
link
ComputerGuru
3220 days ago
You are describing the behavior of standard, safe rust code.
Using unsafe blocks throws all that away.
link