Polyglot Native: Java, Scala, Kotlin, and JVM languages
summary
Claims an ahead-of-time compiler plus a low-footprint VM that turns Java bytecode (Java, Kotlin, Scala) and C into one native executable using the native Image Tool (version 0.26) and a chunked heap to cut memory and startup. It relies on closed-world ahead-of-time compilation with an aggressive fixed-point points-to/type analysis, requires importing C structs and a RA Pointer Java type for interop, and demos show second-scale startup and a 20 ms roundtrip for an embedded HTTP request.
AI-written summary · about
chapters (15)
- 0:00Polyglot Native intro
- 2:08Benefits and limits of native
- 5:18Closed-world assumption
- 7:04Type flow analysis
- 11:37Live native demo
- 15:51Startup vs JavaScript
- 17:57Language integration
- 21:27Pointer types and memory
- 23:33Direct memory access
- 26:57Java Buffers and threads
- 29:37Java with native image
- 33:05Polyglot and Kotlin
- 36:26Java libraries in native
- 38:47HTTP server demo
- 39:51Summary and use cases
related talks
01h 00mStatic Java, GraalVM Native and OpenJDK
44mJava In The Cloud with GraalVM
47mBring the action: using GraalVM in production
49mSupercharge your Native Image applications
42mJava in the Cloud with GraalVM
52mGraalVM native images explained
55mNative Image: Large-scale static analysis for Java
52mPolyglot on the JVM with Graal: One VM for Java, node.js, Ruby, R, and C++!
