Overview
Explore Project Panama, a modern alternative to Java Native Interface (JNI), in this 27-minute conference talk presented by Maurizio Cimadamore, Compiler Architect. Discover how Panama APIs and tools provide a safe and efficient way to access foreign memory and code from Java. Learn about the architecture of Project Panama, the Foreign Memory Access API, working with memory segments and structures, memory layouts, linking native functions, and the Foreign Linker API. Gain insights into transitioning from native code to Java and see how Project Panama can be applied to real-world scenarios like TensorFlow integration. Understand the benefits of using jextract and how it simplifies the process of interfacing with native code.
Syllabus
Intro
Safe Harbor Statement
Beyond "Pure Java"
Tensorflow A case study
Project Panama
Panama The architecture
Foreign Memory Access API
Memory segments Working with structs
Memory Layouts
Linking native functions
Foreign Linker API
From native to Java
Tensorflow, meet Panama Jextract to the rescue
Taught by
Java