~/talk

ASTro: An AST-based Reusable Optimization Framework

Talkat VMIL 2025 · on Wednesday, 2025-10-15· [compilers-and-language-design]
slides:none on file

Describes a lightweight partial-evaluation framework that generates specialized C dispatchers from node-centric AST interpreters, claiming plain C output that mainstream compilers inline aggressively and yield competitive native code. Includes a generator, ASTroGen under 500 lines Ruby, and a Merkle-tree micro hash per AST subtree so compiled fragments are shared across processes and machines. Prototype (Naruby subset: 21 types, ~300 node defs) compiles with GCC and RISC‑V toolchains and shows improved microbenchmark speed versus a tree-walking baseline.

AI-written summary · about

  1. 0:00ASTro framework intro
  2. 1:45Traditional interpreter challenges
  3. 3:13Motivation for lightweight partial eval
  4. 6:06ASTro specialized interpreters
  5. 9:46Demo minimal language
  6. 15:31Micro hash code reuse
  7. 16:36Partial evaluation with ASTro
  8. 19:35Preliminary eval with Narubi
  9. 21:23Conclusion open questions
  10. 22:07Q&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.