~/talk

Inlined Code Generation for Smalltalk

Talkat VMIL 2024 · on Sunday, 2024-10-20· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

A new Smalltalk compiler named Zag Smalltalk implements semantic inlining at an intermediate level, compiling methods on-demand for a target receiver class so sends become direct code instead of dynamic lookups. It ships two execution modes—a threaded indirect-jump debugger and a native-code path—that remain semantically identical. Inlining runs breadth-first, uses polymorphic inline caches, and converts tail calls into branches (tail-call-to-branch) to turn message-based loops into fast loops. No end-to-end benchmarks are reported yet; vtables are invalidated and recompiled on method updates.

AI-written summary · about

  1. 0:00Inlined code generation intro
  2. 1:01Why inlining matters in Smalltalk
  3. 3:52Dispatch mechanisms Smalltalk vs Java
  4. 5:40Native code jets in Zag Smalltalk
  5. 7:49On-demand compilation strategies
  6. 9:56Tail call optimization for loops
  7. 10:58Conclusions and future work
  8. 11:43Q&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.