ALEXKRI.NET
Resume Contact
← Back

Valen's Memory Safety: A New Kind of Borrow Checking

If you have ever fought a borrow checker to get two writers into the same list, this one is worth half an hour. Valen relaxes shared-xor-mutable down to plain no-use-after-free: one reference kind, mutability set by the function signature, and every reference remembers the path it points into, so reassigning world.entities is what fails to compile. No benchmarks yet, and the author is upfront that the pitch is ergonomics, not speed.

Read the source ↗