-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraalVM native compilation issues #84
Comments
Hello 👋 Any news on this? 🤩 |
Heya: sorry, I don't really have time to work on this feature. FWIW: I think the issue is that GraalVM doesn't support JNR at all, and that's what we use to bind. Two possible solutions:
|
No firm commitment on me, but how would you consider a PR about moving |
I think a move to JavaCPP would be super interesting especially if we can somehow maintain a semblance of API compatibility. If not, that sounds like a largely separate project. oracle/graal#885 is an important issue here since it explains how JavaCPP, Project Panama and JNI relate. Unfortunately it's hard to predict how native-image is going to evolve, but it seems likely that:
|
FYI just to update this ticket: it seems like JDK17's native support (aka Project Panama but more specifically the JSR 412 API) might be a useful contender too, since it basically gives us JNA/JNR convenience but it's the runtime's problem to make it work. I don't know yet the degree to which GraalVM native-image (will) support it. |
Hello, thanks for this great project.
I've notived that as of now it seems impossible to properly use caesium in a native binary compiled by GraalVM. As you sound way more knowledgeable that I about JNI and all things native, would you have any thoughts on this?
Here is a minimal reproducible code: https://github.com/piotr-yuxuan/caesium-mwe
The text was updated successfully, but these errors were encountered: