Last Week Korge started to work with Kotlin/Native on MacOS target. And of course, it also run on the JVM and the browser. Today, it starts to work on Windows x64 too.
Korge for windows uses the Win32 and Opengl32 APIs (and MSVCRT used by MingW but ships with windows since Windows 95 OSR2), thus does’t have any external dependencies or DLLs required like SDL or similar.
The executable size (without assets) is about ~7.3MB uncompressed, and ~1.2MB compressed as .7z including all the Korlibs required to run Korge with dragonbones.
Download sample ~6 MB
Performance note: This time I have not recompiled Kotlin/Native without freezing checks and bound-checking removal, so the performance is not as good as the MacOS vesion.
The source-code is available at:
And the specific commit supporting win32 in korui (fake, since right now it doesn’t allow to create components in addition to the main windows like the JS and the JVM targets).
The most important file supporting this: KoruiEventLoopNative.kt
The demo running on the browser using Kotlin.JS: