es4x icon indicating copy to clipboard operation
es4x copied to clipboard

About Native Images for ES4X

Open darrenweb opened this issue 1 year ago • 0 comments

HI,

Currently can i generate native images with ES4X?

Currently,does the latest GraalVM compiler support for jvm interop at runtime?

Thanks!


[Native Images] Currently you cannot generate native images with ES4X, the limitation is because the static analysis of the AOT compiler will not take in consideration the java code invoked from the script (so classes won't be available), plus the fact that the compiler has no support for jvm interop at runtime.

There is work in progress in this area so it might be possible in the future.

darrenweb avatar Nov 08 '23 02:11 darrenweb