> Can I AOT with this (via SubstrateVM) and deploy to "mobile" targets, and specifically iOS?
Technically there is no reason to not support it. But support is not implemented yet.
> Are there any examples of embedding GraalVM in an existing native application (such as the noted idea of having GraalVM accessible inside of MySQL)?
Yes. Oracle MLE[1] and MySQL already work. Oracle MLE you can try already.
We have a native embedding API (its very similar to the Java API). We could not yet quite finish the documentation of it for website. But its already included look for a file polyglot_api.h in the binary.
> Can I AOT with this (via SubstrateVM) and deploy to "mobile" targets, and specifically iOS?
Technically there is no reason to not support it. But support is not implemented yet.
> Are there any examples of embedding GraalVM in an existing native application (such as the noted idea of having GraalVM accessible inside of MySQL)?
Yes. Oracle MLE[1] and MySQL already work. Oracle MLE you can try already. We have a native embedding API (its very similar to the Java API). We could not yet quite finish the documentation of it for website. But its already included look for a file polyglot_api.h in the binary.
[1] https://oracle.github.io/oracle-db-mle/releases/0.2.7/