have you folks considered using Graal and Substrat...
# kotlin-native
p
have you folks considered using Graal and SubstrateVM to compile kotlin to native?
o
pniederw: Kotlin/Native tries to be to C ecosystem what Kotlin/JVM is to Java ecosystem, so just bytecode compilation isn't that important for us
n
I think Graal’s AOT will be very good for Java platform ecosystem overall. You’d be able to write kotlin using a vast array of java libs and have a bare-metal execution profile.
o
In theory, however making good Java AOT is hard, and one needs better than JNI interop model for native code.
p
@nimtiazm afaik, Graal AOT alone saves startup/warmup time but still requires a full JVM. SubstrateVM solves that, but isn’t currently open-source and may require a paid license.
n
@olonho maybe that’s why they’re doing project Panama in parallel? I read that vectorization support straight from Java is in progress as well.
@pniederw I think this is exactly what they want with Graal. Their “One VM to rule them all” theme. They want everything to work fast on top of JVM with high performance and startup time.
o
I am not very optimistic about Graal or Panama future, to be honest.
p
@olonho why?
o
mostly because of non-technical issues I would prefer not to discuss in public channels
p
now I’m really interested 🙂