~/talk

TASTyTruffle: Just-in-Time Specialization of Parametric Polymorphism

Talkat OOPSLA 2023 · 2023-10-23..10-27· [compilers-and-language-design]
links:none on file
name:James You
links:none on file
links:none on file
slides:none on file

TASTyTruffle interprets Scala TASTy (not JVM bytecode), reifies generic types as runtime shapes and implements heterogeneous box-free representations so primitives avoid boxing. It uses the Truffle framework and Graal-style JIT to perform dynamic specialization, duplicating generic code per observed type combinations to produce monomorphic copies that JITs optimize. On a suite of benchmarks it ties JVM for monomorphic workloads and consistently outperforms the JVM on polymorphic workloads; artifacts and evaluation data are available.

AI-written summary · about

  1. 0:00Introduction
  2. 0:24Generics performance with type erasure
  3. 1:28Monomorphisation vs type erasure
  4. 3:56Scala compilation and TASTy
  5. 5:21TASTyTruffle architecture
  6. 6:25Rification of generic types
  7. 7:28Array access with rified types
  8. 8:30Polymorphic code performance
  9. 10:16Dynamic specialization for generics
  10. 11:42Benchmark results
  11. 12:44TASTyTruffle vs JVM generics
  12. 14:51Recap and conclusion
  13. 15:17Q&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.