4 ms·
When I tried it it was great but also not easy to use. Things become hard quickly, e.g. If your jvm code uses something like reflection.
by sureglymop 1y ago
When I tried it it was great but also not easy to use. Things become hard quickly, e.g. If your jvm code uses something like reflection.
- 90s_dev 1y agoI vaguely remember using it about 10 years ago for work, can't remember what for, or anything about that situation, but the one takeaway that I do remember is that it was neat and innovative, but ultimately not good enough to overthrow whatever we were using instead.
- perrygeo 1y agoClojure code ends up using a lot of reflection if you're doing generic Java interop. Most code destined for the GraalVM will add `(set! warn-on-reflection true)` and get repl warnings and you can set type hints accordingly.
- hocuspocus 1y agoNative images are just one feature though. Many people would benefit from the Graal JIT even if they don't care about anything else.
- Capricorn2481 1y agoMy understanding is GraalVM's JIT keeps some optimizations for the enterprise edition, and is otherwise comparable to Hotspot, with some niche exceptions. I'm not sure "many" would benefit without paying.
- hocuspocus 1y agoIt's been entirely free since mid-2023. Even if you care rather about native images, you probably want to use the proprietary distribution anyway.