Going Meta to Valhalla & Panama
summary
Meta approach extracts C headers into Jextract metadata jars (standardio class ≈22KB) and a runtime binder generates actual method bodies on load, avoiding handwritten JNI. Demo shows JShell binding to libc fopen, pointer arithmetic with a pointer with bounds checking, and embedding Python callbacks; it works end-to-end though startup, debugging and verification tradeoffs remain. Runtime binding lets the VM pick platform optimizations and lazily materialize only needed stubs.
AI-written summary · about
chapters (4)
- 0:00Start
- 22:08Wrapperless Native Programming
- 24:19The Binder Pattern
- 29:31Meta-programs manage meta-data about programs
related talks
55mBare metal Java
33mFrom native code gems to Java treasures with jextract
51mYour next JVM: Panama, Valhalla, Metropolis
29mEasily Leverage Native Functions with Project Panama from Java
01h 04mProject Panama Unleashing Native Libraries
43mPanama Update
36mA Promising Future for using Native Libraries in the Java World
45mMaking Java more dynamic
