A short introduction to GraalVM
The preceding diagram illustrates the architecture of GraalVM as an open ecosystem.
The bottom part demonstrates the applicability range. GraalVM can either run standalone, be embedded as part of OpenJDK or node.js platforms, or even embed inside databases such as MySQL or Oracle RDBMS.
The GraalVM 1.0 release contains language interpreters for:
- JVM-based languages like Java, Scala, Groovy, or Kotlin
- languages compiling to LLVM bitcode like C, C++, or Rust
- experimental versions of Ruby, R, and Python 3
GraalVM includes the following components:
- Graal: A dynamic just-in-time (JIT) compiler that improves efficiency and speed of applications through unique approaches to code analysis and optimization.
- Graal Polyglot APIs: APIs for combining programming languages in a shared runtime. These APIs allow you to match programming languages to your needs and gives you better performance using fewer resources.
- Graal SDK: A set of APIs useful for embedding Graal languages and configuring native images.
- Oracle HotSpot Java Virtual Machine (JVM): A runtime environment for JVM-based languages and supported guest programming languages.
GraalVM lets you:
- Run your code faster and more efficiently
- Interoperate directly with most modern programming languages
- Embed languages with the Graal SDK
- Create compiled native images
- Use a single set of tools to monitor, debug, and profile all your code
Whether you are here to try running an application with GraalVM for the first time or ready to start coding with the Graal Polyglot APIs, check out the Graal documentation to help you on your way.
If you can’t find the answer you need or have a troubleshooting query, get in touch with us.