External Publication
Visit Post

Idea / Pre-RFC: Null-free pointer and Zeroable reference

Rust Internals [Unofficial] March 7, 2026
Source

jhpratt:

Abstractions can be made to be zero cost.

They do have cost. volatile access is not optimisable by its definition and inline asm is even worse - it will cause audit failure. And forming reference at 0x0 is not a cost problem, it's simply impossible under the current AM. There's nothing 'zero-cost'.

Discussion in the ATmosphere

Loading comments...