Can it be compiled into a dynamic shared library? #1345
-
I want to make a platform service run language code but can it run via ffi so no executable needed |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Yes. Elide can be used via Maven, and you can use GraalVM's shared library features with it just fine. We have several projects downstream where we are building Elide-enabled stuff via this route, so it will stay supported. Feel free to join the Discord and let us know if you have any trouble getting it set up, or post here and we'll act quickly to fix. 👍 |
Beta Was this translation helpful? Give feedback.
-
if it is true that it can be compiled to a 100% shared library, it might be more interesting because developers can code javascript / python / whatever that can be run by elide anywhere. especially on android, because if using native executable requires root, and is not efficient |
Beta Was this translation helpful? Give feedback.
Yes. Elide can be used via Maven, and you can use GraalVM's shared library features with it just fine. We have several projects downstream where we are building Elide-enabled stuff via this route, so it will stay supported.
Feel free to join the Discord and let us know if you have any trouble getting it set up, or post here and we'll act quickly to fix. 👍