Y
Hacker News
new
|
ask
|
show
|
jobs
by
zombot
9 days ago
Borrow-checking the dereference of a stale pointer won't be worth much, though.
1 comments
josephg
9 days ago
Sure; but I bet raw pointers are used very infrequently in the new codebase. The code was ported from zig to rust. I bet a lot of pointers became rust references in the process.
link
zombot
9 days ago
The point of compiler-based checking would be that you know for sure. If you have to bet, all bets are off.
link
gcr
9 days ago
That’s my whole point! It’s ported to unsafe rust, not default rust.
link