This is how we made bytecode interpreters in Java competitive with state of the art assembly tuned C interpreters. They partially evaluate like Truffle interpreters at the same time! Integrated in GraalPy, GraalWasm and Crema! Soon in GraalJS! Great work by Yudi Zheng!
Escaping the Giant Switch: a deep dive into optimizing bytecode interpreters: medium.com/graalvm/esca...
2 reposts5 likes