Re:Hacking the Golang Runtime with Genereics
by flagsrule on Wednesday December 21, 2022 @09:01AM
(#34080819)
I looked into using Graal one time. Many of the dependencies I used were not compatible. I also encounter weird bugs with any of the OpenJ* alternatives. In Go, everything just works.
[ Parent
| on HN ]
Re:Hacking the Golang Runtime with Genereics
by fsdjkflsjfsoij on Wednesday December 21, 2022 @11:31AM
(#34082808)
The JVM proponents are usually being dishonest when they compare Java/Kotlin AOT compilation to Go. They know very well that a large number of popular libraries either outright don't work or have severe restrictions when using AOT. It's also common to run into bugs since Graal is relatively new and only a miniscule percentage of the Java community uses it. It's not even remotely close to Go where everything can be assumed to work.
Re:Hacking the Golang Runtime with Genereics
by clumsysmurf on Wednesday December 21, 2022 @01:10PM
(#34084221)
I was just reading that Spring 6 introduces Ahead-Of-Time compilation, enabling first-class support for GraalVM native images with Spring Boot 3. So hopefully the situation is improving.
Re:Hacking the Golang Runtime with Genereics
by pjmlp on Wednesday December 21, 2022 @02:25PM
(#34085219)
No we aren't, because there have been commercial compilers since around 2000, with Excelsior JET being one of the first ones, sadly out of business.
However, PTC and Aicas are still in business,
https://www.ptc.com/en/products/developer-tools/perc
https://www.aicas.com/wp/products-services/jamaicavm/
IBM's commercial one is now freely available on OpenJ9,
https://www.eclipse.org/openj9/docs/xaot/
Finally, if you are using a modern Android phone, an AOT compiler is in the box since Android 5, and it was modified into a mixed JIT with AOT compilation on rest since Android 7.
GraalVM happens to be the evolution of MaximeVM, and certainly not the only game in town.