Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GraalVM native-image compile Java libraries into iOS framework/libraries

GraalVM native-image allow us to convert Java libraries into local executable. It also allow to compile to shared library as mentioned https://www.graalvm.org/docs/Native-Image/user/README

An native image can be built as a standalone executable, which is the default, or as a shared library by passing --shared to native-image. For an image to be useful, it needs to have at least one entry point method.

The closest thread I found is this one https://github.com/oracle/graal/issues/373, but still can't find any guide to do so for iOS, is that possible? Any guide I can follow?

like image 982
Sam YC Avatar asked May 31 '26 05:05

Sam YC


1 Answers

Look at the example project in Clojure, seems it compiles to iOS, there is a demo video as well: https://github.com/phronmophobic/grease

like image 119
Oleg Kilimnik Avatar answered Jun 02 '26 20:06

Oleg Kilimnik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!