Java / GraalVM Interview questions
List the languages GraalVM can run?
GraalVM natively runs standard JVM languages - Java, Kotlin, Scala, and Groovy - since they already compile to JVM bytecode.
On top of that, through Truffle-based implementations it can also execute:
- JavaScript and Node.js (GraalJS)
- Python (GraalPy)
- Ruby (TruffleRuby)
- R (FastR)
- WebAssembly (Wasm)
- LLVM bitcode, which means compiled C and C++ can also run through the LLVM runtime (allowing languages like Rust to run indirectly via LLVM IR)
Not every language implementation is equally mature - GraalJS and Native Image for Java are the most production-hardened, while some others are better suited to embedding scripting than full application hosting.
More Related questions...