News for hackers. Stuff that matters.
Re:Graal: How to use the new JVM JIT compiler in real life [... by grashalm01 on Saturday February 10, 2018 @10:40AM (#16347732)
When executing on Java we are dependent on hotspot to support it in the native bytecode interpreter. In truffle interpreters we made some successful experiments with tail calls emulated using exceptions. It's pretty slow in the interpreter but as soon as graal optimizes it, it just turns into a tailcall loop. Here is some more info: http://epub.jku.at/obvulihs/content/pageview/508465

You may find some blog posts about truffle and tailcalls as well.

There are no comments on this comment yet.