~/talk

Project Panama. A step closer to native code

slides:none on file

Project Panama provides a JNI successor: Foreign Function & Memory API implements the C ABI, supports Windows/Linux/macOS and ARM/M1, and enables downcalls and upcalls plus pointer-backed callbacks. It adds memory session (GC-cleaned off-heap) and a segment allocator for arena-style allocation. jextract is a standalone jlinked tool (~200 MB, uses clang/LLVM and lld) that generates Java bindings and optimized static method handles; variadic C functions get dynamic adapters that are useful but costly (near-JNI performance). C++ works only via type-degrading or extra toolchains.

AI-written summary · about

  1. 0:00Introduction and greetings
  2. 0:46Java Native Interface limitations
  3. 3:16Foreign Functions and Memory API overview
  4. 9:17Memory management in Project Panama
  5. 15:59Key differences from C/C++
  6. 20:30Performance and static vs dynamic code
  7. 24:28JExtract: Code generation tool
  8. 33:39Production use cases and known issues
  9. 36:48C++ limitations and workarounds
  10. 39:43Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.