~/talk

Futamura Projections

Talkat GopherCon Europe 2022 · 2022-07-28..07-31· [compilers-and-language-design, go]
links:none on file
slides:none on file

Explains the Futamura projections: a partial evaluator specialized on an interpreter yields a compiled program (first projection), specializing the specializer yields a compiler (second/third projections). Describes a real-world stack: GraalVM/Truffle implements the idea, hosts a JavaScript interpreter whose generated compiler claims performance competitive with V8, runs Ruby in production, and uses Sulong for LLVM bitcode — notes LLVMGo integration currently fails so Go support is incomplete.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Thought Experiment
  3. 1:52Partial Evaluation
  4. 2:56Interpreters
~/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.