Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to significantly accelerate Groovy script execution using GraalVM native-image compiler in this comprehensive tutorial. Learn to install Groovy and GraalVM using SDKMAN, run a simple HTTP server Groovy script, compile and execute it as a Java program, and then compile it to a native image using GraalVM. Explore the process of creating a highly optimized standalone executable that starts up to 10 times faster than on a regular JVM. Gain insights into Dockerfile usage and access valuable resources for further learning. Master the techniques to enhance Groovy script performance and efficiency in just 16 minutes.
Syllabus
| Intro
| Installing Groovy and GraalVM using SDKMAN
| Running Groovy script - a simple HTTP server
| Compiling Groovy script and running as a Java program
| Compiling Groovy script to native image using GraalVM
| BONUS: Explaining Dockerfile
| Conclusion
Taught by
Szymon Stepniak