Does it really needs to be a String? String's have some weird things, I think a char array would be simpler?
I'm now trying a Char pointer: https://github.com/borkdude/babashka/issues/397
Can graalvm compile to iOS? Maybe someone has experience?
There is an issue about it here with a comment that someone made it work somehow: https://github.com/oracle/graal/issues/373#issuecomment-563435260
Also, I know graalvm could build libraries from Java, and methods should use special annotations @CEntryPoint , how to do something like this in Clojure?