utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
562 stars 38 forks source link

GDKotlin Rework: Jvm loading #602

Closed CedNaru closed 2 months ago

CedNaru commented 3 months ago

Rework of the whole process of loading the JVM, the bootstrap and then the usercode.

Made some dirty fix to Bootstrap.kt, which will quickly be replaced anyway in the future CPP reloading rework, for now it's there just to run. Right now, I make the whole engine crash if something goes wrong in the initialization process. I'll change that to proper reporting and fallback to a Kotlin-less Godot in the next PR.

CedNaru commented 3 months ago

Tested on Windows with the following configurations:

CedNaru commented 3 months ago

Tested the Export on Android.

chippmann commented 2 months ago

Tested on macos x86_64: With graalvm native image:

With regular jvm: