yamlscript 2023-08-05

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

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

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

Well the C user will be me 🙂

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

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

here or IRC?

joined here 🙂

👍 1