Re:Staged Abstract Interpreters [pdf]
by Kutta on Tuesday November 23, 2021 @10:58AM
(#29319301)
Yes, the point is that the user only has to write an interpreter, not a compiler, the compiler is automatically generated. See also GraalVM's Truffle interpreter or Souffle Datalog.
[ Parent
| on HN ]
Re:Staged Abstract Interpreters [pdf]
by efferifick on Tuesday November 23, 2021 @11:15AM
(#29319560)
Do you know if there's any disadvantage on using the Futamura projections to generate a compiler? Harder to maintain? Some optimizations are harder to express this way?
I have some experience writing compiler optimization passes and working on JITs, but I have not worked on an interpreter that uses Futamura's projections to generate a compiler.