Hacker News
new
past
comments
ask
show
jobs
points
by
jojomodding
3 hours ago
|
comments
by
mswphd
2 hours ago
|
next
[-]
Lifetimes would prevent the particular use-after-free example here, but the UB that miri currently flags would still exist, as it's related to pointer provenance, not lifetimes.
https://www.reddit.com/r/rust/comments/1hxjdvp/eli5_what_is_...
reply
by
nicce
1 hours ago
|
prev
|
[-]
Unsafe code still mostly needs lifetimes. It extends the functionality, not removing them. I wonder how much nasty things they have done then.
reply