Mandelbort benchmark: Emacs (native-comp) runs 10x slower than Java or Truffle
implementation 1
So I've been working on an interpreter for Emacs Lisp using the GraalVM Truffle
framework for a while now. As I've just completed its AST interpreter and a
bytecode interpreter, I guess its time to give it a little write-up (or rather,
some random babbling of various tricks).
Although the Truffle interpreter covered here is for Emacs Lisp only, most of
the following should also be applicable to other Lisp dialects and maybe other
Truffle-based language implementations.