~/talk

Hidden Inheritance: An Inline Caching Design for TypeScript Performance

Talkat OOPSLA 2020 · 2020-11-15..11-20· [javascript]
links:none on file
name:Zhe Sun
links:none on file
name:Kai Gong
links:none on file
links:none on file
links:none on file
name:Bin Liao
links:none on file
name:Yihua Jin
links:none on file
slides:none on file

Claims a new inline-caching scheme called hidden inheritance that uses TypeScript’s static class/interface hierarchy to treat parent and descendant hidden classes as cache-compatible, implemented by a transpiler-plus-compiler stack STSC on Google V8 that embeds type annotations as JSON and generates hidden-inheritance trees and guarded IC checks. Builds bytecode and native modes; benchmarks (JetStream2 and apps) show up to ~20% speedups in bytecode mode and 6–67% reductions in native-mode tests, with smaller gains where few classes/interfaces exist.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Context and motivation
  3. 1:34Hidden classes and V8
  4. 2:58Inline caching limitations
  5. 5:08Hidden inheritance design
  6. 8:51Implementation details
  7. 10:21Code generation algorithm
  8. 12:43Performance evaluation
  9. 15:34Conclusion and future work
~/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.