|
|
|
|
|
by mwcampbell
738 days ago
|
|
Sorry if this is too far off topic for this thread, but I'm curious if you've done any work on packaging JVM-based desktop apps, whether using JavaFX, Compose, or something else, using GraalVM Native Image. The idea of bringing Native Image's minimal startup time to desktop apps is really appealing to me. |
|
https://github.com/hydraulic-software/conveyor/discussions/6...
Gluon has a version of GraalVM that can compile JavaFX apps. They do indeed start impressively fast and use much less memory. It's still a road somewhat less travelled though. Someone also tried it with Compose but it didn't get further than a demo repo and a few comments on our Discord.
There are a few issues left to resolve:
1. General developer usability.
2. Native images aren't deterministic, which reduces the effectiveness of delta updates.
3. Native images can quickly get larger than the JVM+bytecode equivalent, as bytecode is quite compact compared to machine code. So you trade off startup time against download time.