←back to thread

188 points refset | 1 comments | | HN request time: 0.202s | source
Show context
mightyham ◴[] No.41868615[source]
I'm curious what advantages Jank has over GraalVM, since Graal also supports interop with llvm languages.
replies(3): >>41869093 #>>41869221 #>>41871955 #
1. Jeaye ◴[] No.41871955[source]
With Graal native images, JIT compilation is not an option any longer. The runtime is static. With jank, you have a native binary, but you can JIT compile code with it and interop seamlessly with the native world. jank will also have an option for static runtimes, with no JIT compilation support, which can perform direct linking, better inlining, and whole program LTO. These builds will be smaller and lighter than native images.

Already, jank is faster than native images in the benchmarking I've done. The largest benchmark, so far, was a ray tracer.