~/talk

Dr. Futamura and the Projection Machine: From Interpreters to Compilers

Talkat Jfokus 2023 · 2023-02-06..02-08· [compilers-and-language-design, java]
slides:none on file

Futamura projections let a partial evaluator turn a high‑level interpreter into a compiled program by specializing the interpreter on a fixed source program; applying it twice yields a compiler, and a third time yields a compiler generator (paper from 1983). Truffle on GraalVM implements this: AST interpreters get speculatively partially evaluated to optimized machine code, deoptimized and recompiled on misprediction, and produce Ruby/JavaScript runtimes competitive with V8 rather than slower prototypes.

AI-written summary · about

  1. 0:00Introduction
  2. 3:37About me
  3. 5:18Programs
  4. 6:02Program Evaluation
  5. 10:52Partial Evaluation
  6. 12:06Partial Application vs Partial Evaluation
  7. 14:32Rewriting
  8. 16:46Projection
  9. 19:32Applying Partial Evaluation
  10. 20:02Compile Program
  11. 26:56Alpha
  12. 28:45Truffle
  13. 32:21What is Alpha
  14. 34:35Tabulation
  15. 38:47First Projection
~/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.