GRAALVM with Groovy & Kotlin
summary
GraalVM runs JVM and non‑JVM languages via polyglot API and Truffle, and can produce native-image executables with ~30 ms cold startup but long build times (reports up to 60 minute builds). Groovy needs explicit reflection config (reflect-config.json) and loses metaprogramming/closures unless rewritten; Kotlin largely works. Micronaut and a Java agent can generate reflection metadata ahead‑of‑time. Twitter reports ~10% runtime improvement in production (claimed $5M savings) when dedicating engineering effort to GraalVM.
AI-written summary · about
chapters (10)
- 0:00Intro
- 9:38What is Truffle
- 14:16Native Image
- 15:55Performance
- 18:39Debugger
- 21:00Factorial
- 26:57Micronote
- 29:14Limitations
- 31:29Bugs
- 34:40Questions
related talks
28mUsing GraalVM in the context of Kotlin
52mGraalVM: Run Programs Faster Anywhere
03h 07mEverything you need to know about GraalVM
49mGraalVM: Run Programs Faster Anywhere
35mTop 10 Things to Do with GraalVM
59mGraalVM: Run Programs Faster Anywhere
50mGraalVM for Java developers
20mGraalVM: Run Programs Faster Anywhere
