~/lightning

Have You Heard of Provenance?

Lightningat C++Now 2022 · 2022-05-01..05-06· [documentation]
links:none on file
slides:none on file

Explains why C/C++ pointer provenance matters by showing a real clang-tidy warning performance-no-int-to-ptr and a concrete example: casting adjacent objects to integers and back (a pointer-to-integer round trip) can appear to produce a valid pointer to the neighbor but actually interacts with the past-the-end pointer rule and abstract-machine provenance rules, letting optimizations treat values as integers and create undefined behavior; conclusion: ptr→int casts have provenance side effects that compilers may exploit.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.