Re:Announcing Rust 1.20
by whyever on Thursday August 31, 2017 @06:24PM
(#15144493)
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.
[ Parent
| on HN ]
Re:Announcing Rust 1.20
by staticassertion on Thursday August 31, 2017 @06:58PM
(#15144698)
And integer out of bounds, and (most) segfaults, and data races, etc
Re:Announcing Rust 1.20
by steveklabnik on Thursday August 31, 2017 @07:04PM
(#15144737)
Notably integer overflow is NOT UB and is checked in debug builds.
Re:Announcing Rust 1.20
by staticassertion on Thursday August 31, 2017 @07:35PM
(#15144924)
Sorry, I should have said array OOB.
Re:Announcing Rust 1.20
by steveklabnik on Thursday August 31, 2017 @07:44PM
(#15144977)
Yeah, it's all good!