-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[Extension Proposal] Add Graal Languages Extension to easily inject Python, JS, and WASM modules #43410
Comments
/cc @aloubyansky (extension-proposal), @gastaldi (extension-proposal), @gsmet (extension-proposal), @maxandersen (extension-proposal,jbang), @quarkusio/devtools (jbang) |
@timfel Does GraalVM support host functions? I've started to play a bit and it's quite easy to run some guest functions, but I haven't figured out how to expose host functions to WASM. Thanks! |
@jponge yes, this is an example on how to write HostFunctions with GraalVM WASM. If you are concentrating on WASM, I'm happy to chat and detail the different tradeoffs with Chicory. |
Thanks I'll have a look! |
Description
Interested in this extension, please +1 via the emoji/reaction feature of GitHub (top right).
Since release 24.1.0, the Graal languages no longer need to be put on the module path, so they work with fat jars and on the classpath just fine. Micronaut has added some support for GraalPy already that makes it easy to include Python modules.
It would be great to see something similar to this in Quarkus.
Some relevant links here are that GraalPy has some utils to manage putting Python packages into the right place inside Java resources. These are used by the JBang, Gradle and Maven plugins already, and are considered public API. The Micronaut integration is here and has all the classes that implement the injection.
Repository name
quarkus-graal-languages
Short description
Use Graal Languages in Quarkus
Repository Homepage URL
https://quarkiverse.github.io/quarkiverse-docs/<REPOSITORY_NAME>/dev/
Repository Topics
...
Team Members
Additional context
We are happy to help from the GraalPy team, but we do not have the resources to lead the implementation in this.
The text was updated successfully, but these errors were encountered: