|
|
|
|
|
by eeperson
1889 days ago
|
|
> There are attempts to fix this with e.g. Graal, which effectively does the expensive initialization and reflection at compile time, but there are so many downsides and pitfalls right now with Graal that I don't consider it a serious solution to the problem. It's basically creating a new ecosystem, which means one primary motivation--to take advantage of the Java ecosystem--is much less compelling. I'm not sure I understand what the downsides are for Graal and FAAS. There are some pitfalls around reflection but even those don't seem to hard to avoid. Is that what you are referring to? |
|
Dealing with reflection is pretty awful, you have to comb through your entire dependency graph.
Targeting the compiler for a different OS/architecture than the host is difficult, to say the least.
There are so many great languages and runtimes to pick from these days...I can't imagine why anyone would willingly choose a technology like that.
(Don't get me wrong, Graal is a fascinating technology, and I hope that one day it is able to seamlessly compile Java code to native executables...but it's not there yet.)