~/talk

Dealing with aliasing using contracts

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [rust]
links:none on file
slides:none on file

Shows that annotating non-aliasing actually matters: real benchmarks report a mean speed >2x and rare cases up to 40x or 50x. Explains why type-based alias analysis and current compilers fall short, why C’s restrict is ambiguous, and why runtime checks or static contracts are needed. Proposes concrete solutions — a disjoint annotation, alias sets, and a “unique span” type — and describes which are implementable, what compilers currently do, and what remains unbuilt.

AI-written summary · about

  1. 0:00Aliasing in C++
  2. 3:59Aliasing and performance
  3. 8:07Fortran’s aliasing edge
  4. 10:42Vectorization and aliasing
  5. 16:07Type-based alias analysis limits
  6. 22:29C’s restrict qualifier limits
  7. 24:21Contracts for aliasing
  8. 37:19Contracts for user types
  9. 44:43Undefined behavior in stdlib
  10. 47:18C++ aliasing proposals
  11. 51:29Q&A
~/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.