Post

Good news everyone! 🎉 After two years of R&D, we've finally merged the Bytecode DSL into master! Truffle now generates bytecode interpreters from AST-like specifications for you. ASTs are dead, long live bytecodes! Check it out: github.com/oracle/graal...

24 reposts60 likes

Yes. After all even the bytecode DSL still uses helper nodes to store profiles. But the dispatch and control flow no longer goes through node execute methods but an optimized bc dispatch and managed instead of native stack. The latter makes continuations trivial.

That being said. Some feature in the future like a template jit might be incompatible with an AST interpreter. Those features would be disabled then there. But that's a little out to land.