Fork me on GitHub
Ingy döt Net16:08:28

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

Ingy döt Net16:08:34

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


Through some magical annotations, the answer seems to be yes. Cf. Though I have never done this and I would not expect the library to feel ergonomic for C users

Ingy döt Net21:08:02

Well the C user will be me 🙂

Ingy döt Net21:08:30

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


There is also #CAJN79WNT and also a dedicated Graal slack:

Ingy döt Net22:08:27

joined here 🙂

👍 1