Hacker News new | ask | show | jobs
by sureglymop 420 days 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.
3 comments

Clojure 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.
Native images are just one feature though. Many people would benefit from the Graal JIT even if they don't care about anything else.
My 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.
It's been entirely free since mid-2023. Even if you care rather about native images, you probably want to use the proprietary distribution anyway.
I 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.
First release happened in 2019
My memory is not great, as implied by that very comment.
GraalVM has evolved from another Sun Research Labs project, MaximeVM, but that was never released as a product.