quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.58k stars 2.63k forks source link

[Extension Proposal] Add Graal Languages Extension to easily inject Python, JS, and WASM modules #43410

Open timfel opened 2 hours ago

timfel commented 2 hours ago

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//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.

quarkus-bot[bot] commented 2 hours ago

/cc @aloubyansky (extension-proposal), @gastaldi (extension-proposal), @gsmet (extension-proposal), @maxandersen (extension-proposal,jbang), @quarkusio/devtools (jbang)