4 ms·
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 s
by skariel1 9y 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
- steveklabnik 9y agoThe context of this thread is unsafe, which can segfault.
- ComputerGuru 9y agoYou are describing the behavior of standard, safe rust code. Using unsafe blocks throws all that away.