~/talk

Bare Metal Java

TalkinPolishat Confitura 2022 · on Saturday, 2022-06-25· [java, linux-and-operating-systems]
links:none on file
slides:none on file

Describes Project Panama’s native memory and FFI features for Java 17/19: MemorySegment and ResourceScope for safe lifecycle control, MemoryLayout and carrier-type handles, atomic/get/set access, and a C linker that exposes C functions as Java MethodHandles. Shows using Panama instead of Unsafe on 64-bit x86 and ARM, discusses the 5–6 year incubation of the APIs, and demonstrates a working SDL-based game renderer implemented by calling native SDL through Panama.

AI-written summary · about

  1. 0:00Introduction
  2. 2:11Native interface problem
  3. 5:49External memory projects history
  4. 9:03New native memory API basics
  5. 15:56Memory layout and data structures
  6. 20:51Memory lifetime management
  7. 23:20Calling native code from Java
  8. 33:50Developer reflections and dreams
  9. 36:42Demo: Java game with SDL
  10. 44:35Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.