~/lightning

Lightning Talk: Un-Undefining Undefined Behavior in C++

Lightningat CppCon 2023 · on Monday, 2023-10-02· [rust]
links:none on file
slides:none on file

Claims a practical way to force compilers to emit correct code despite UB by hiding the undefined operation from static view: type punning is moved into a separately compiled library so the compiler must assume value-preserving returns; runtime-loaded code and a small "taint" routine make the compiler treat fast inverse square root as defined and then patch the call to recover performance; signed integer overflow remains unresolved. Demos run and the inverse‑sqrt patching works; overflow is still open.

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.