4 ms·
Nothing stops you from leaking memory in Rust either, it is considered memory safe, see std::mem::forget. Rust only safes you from use-after-free and double-fre
by whyever 9y ago
Nothing stops you from leaking memory in Rust either, it is considered memory safe, see std::mem::forget. Rust only safes you from use-after-free and double-free.
- staticassertion 9y agoAnd integer out of bounds, and (most) segfaults, and data races, etc
- steveklabnik 9y agoNotably integer overflow is NOT UB and is checked in debug builds.
- staticassertion 9y agoSorry, I should have said array OOB.
- deleted 9y ago[deleted]
- steveklabnik 9y agoYeah, it's all good!