3 ms·
> As long as there are no POOF magicians, the GC can assume that it knows every reference! creating pointers without provenance is safe, so the GC can’t assume
by celeritascelery 1y ago
> As long as there are no POOF magicians, the GC can assume that it knows every reference!
creating pointers without provenance is safe, so the GC can’t assume that a program won’t have them also be sound. This always be an issue.
- IshKebab 1y agoI wouldn't say always: https://doc.rust-lang.org/std/ptr/index.html#strict-provenance https://doc.rust-lang.org/std/ptr/index.html#strict-provenan... I don't know what the plan is but I wouldn't be surprised if there's a breaking change (maybe in an edition) to remove exposed provenance from Rust entirely.