Using Graal for ahead of time compilation?


#1

Has anyone tried running a Play application using the recently released GraalVM? With full ahead-of-time compilation? Any particular pitfalls / issues?

https://www.graalvm.org/


(Schmitt Christian) #2

Actually running Dev Mode sometimes needed a restart, because it printed some issues. However production mode worked fine, at least my first tests.

AoT is probably not possibly with Scala 2.12+ due to the restriction with Reflection and no support for Indy: https://github.com/oracle/graal/blob/master/substratevm/LIMITATIONS.md#invokedynamic-bytecode-and-method-handles


(Rich Dougherty) #3

@schmitch, was this your post over on Hacker News?

https://news.ycombinator.com/item?id=16997319


(Schmitt Christian) #4

nothing keeps hidden in the internet!
yes, it was my post