yamlscript

Ingy döt Net 2023-08-05T16:02:28.513699Z

Can GraalVM compile to a shared library (rather than an executable)?

Ingy döt Net 2023-08-05T16:03:34.786869Z

Googling this brings up a lot about calling shared libs from java.

hifumi123 2023-08-05T21:36:19.808499Z

Through some magical annotations, the answer seems to be yes. Cf. https://komamitsu.medium.com/how-to-create-a-shared-library-from-java-code-2273b5015689 Though I have never done this and I would not expect the library to feel ergonomic for C users

Ingy döt Net 2023-08-05T21:37:02.699009Z

Well the C user will be me 🙂

Ingy döt Net 2023-08-05T21:37:30.464689Z

Or whoever is writing the language specific (FFI or whatever) binding

lread 2023-08-05T22:13:30.668209Z

There is also #graalvm and also a dedicated Graal slack: https://www.graalvm.org/slack-invitation/

Ingy döt Net 2023-08-05T22:23:39.658909Z

here or IRC?

Ingy döt Net 2023-08-05T22:24:27.002129Z

joined here 🙂

👍 1