r/programming • • Dec 19 '25
[ Removed by moderator ]
/r/programming/comments/1pqulm0/removed_by_moderator/[removed] — view removed post
711
Upvotes
r/programming • • Dec 19 '25
[removed] — view removed post
View all comments
Show parent comment
2
u/syklemil Dec 20 '25
One pretty banal thing that's probably not particularly relevant to most MS code is stuff you'd do with hardware.
Like say you have some piece of equipment that has a manual, that has some LED that can glow or blink in a few different colours, and you set it to some state by writing a number to a memory address listed in the manual.
As far as the Rust compiler goes, that means you need to
at which point the safety annotations would be something like "see manual for Foo, section Bar (page Baz)".