About Leeds School of Architecture Location Leeds • Courses BA (Hons) Architecture, MArch • Head of school Sarah Mills • Full-time tutors 15 • Part-time
In my previous blog post on pointer provenance, I have shown that not thinking carefully about pointers can lead to a compiler that is internally inconsistent: programs that are intended to.
The Tower of Weakenings: Memory Models For Everyone gankra.github.io - get the latest breaking news, showbiz & celebrity photos, sport news & rumours, viral videos and top stories from gankra.github.io Daily Mail and Mail on Sunday newspapers.
Pointers Are Complicated II, or: We need better language specs
just because two pointers point to the same address, does not mean they are equal in the sense that they can be used interchangeably.
This “extra information” that distinguishes different pointers to the same address is typically called
provenance.
This post is another attempt to convince you that provenance is “real”, by telling a cautionary tale of what can go wrong when provenance is not considered sufficiently carefully in an optimizing compiler.
The post is self-contained; I am not assuming that you have read the first one.
There is also a larger message here about how we could prevent such issues from coming up in the future by spending more effort on the specification of compiler IRs.