Skip to content
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

add scripting integration for graalvm #47

Closed
subes opened this issue Oct 13, 2024 · 2 comments
Closed

add scripting integration for graalvm #47

subes opened this issue Oct 13, 2024 · 2 comments

Comments

@subes
Copy link
Collaborator

subes commented Oct 13, 2024

https://www.graalvm.org/latest/reference-manual/embed-languages/#compatibility-with-jsr-223-scriptengine

Since 23.1.0 this should work also easily on OpenJDK without running directly inside GraalVM

@subes
Copy link
Collaborator Author

subes commented Oct 13, 2024

[n] Espresso for Java => won't do because espresso does not support eval: (*Espresso does not support evaluation (.eval) of Java sources.
[y] GraalJS already integrated as invesdwin-context-javascript
[y] GraalPy
[y] TruffleRuby
[n] FastR though abandoned (similar to renjin) => Won't do since not packaged anymore
[n] LLVM for C/C++-/Rust => Won't do because eval can only load code to then execute functions in it: https://www.graalvm.org/latest/reference-manual/llvm/Interoperability/ though the llvm bitcode generation from arbitrary source code could be automated, but is rather something to do at build-time instead at runtime. Will be investigated as part of invesdwin/invesdwin-scripting#13

@subes
Copy link
Collaborator Author

subes commented Oct 19, 2024

Finished

@subes subes closed this as completed Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant