5 ms·
Why not Java/Kotlin AOT via GraalVM ?
by SemanticStrengh 4y ago
Why not Java/Kotlin AOT via GraalVM ?
- lmm 4y agoBecause it's a massive complex pile of underdocumented flakiness? Although I imagine this will be to start with too.
- SemanticStrengh 4y agoplease provide substance, this mere dismissal seems ungrounded, GraalVM native in most cases just works(tm). There is some config if you make heavy use of reflection and that is pretty much all.
- vips7L 4y agoIt in most cases just does not work. I have never been able to compile a non-trivial project with graal unless I’m using some framework like Quarkus. As soon as there’s any of type of dependencies involved you are going to hit hidden complexities around reflection and class loading.
- SemanticStrengh 4y agothanks for the input, any example you'd recommend me to try?
- singularity2001 4y agoThe last time I checked it took 3 seconds to compile Hello_World.kt
- SemanticStrengh 4y agoKotlin native or graalvm AOT? The new kotlin K2 frontend should help a lot but it won't be stable until 1 year. Also JIT for development and AOT for releases seems very viable to me