exotic icon indicating copy to clipboard operation
exotic copied to clipboard

GraalVM SVM compatibility?

Open bsideup opened this issue 4 years ago • 3 comments

Hi!

It would be helpful if each component would have something like "Works on GraalVM" due to GraalVM's limited support for method handles. There are some great ones, but I wanted to be sure that it won't exclude GraalVM from project's compatibility if I use them :)

Thanks!

bsideup avatar Jun 26 '20 12:06 bsideup

If by GraalVM, you mean GraalVM native image, none of them works with native image because they all rely one way or another on java.lang.invoke reflection.

I hope project Leyden will offer a way to describe those constructs in a way amenable to native image.

forax avatar Jun 26 '20 13:06 forax

@forax yes, sorry, talking about SVM.

none of them works with native image because they all rely one way or another on java.lang.invoke reflection.

oh, okay 😅 I thought some will work, since SVM has a limited support for MethodHandle.

bsideup avatar Jun 26 '20 13:06 bsideup

The limited support is very limited :) It supports lambdas and string concatenation, that's it

forax avatar Jun 26 '20 13:06 forax