~/talk

Bare metal Java

Talkat GeeCON 2023 · 2023-04-19..04-21· [java]
links:none on file
slides:none on file

Argues that recent Panama APIs make the JVM far more hardware-friendly: MemorySegment (spatial, temporal and thread-confinement bounds) plus MemoryLayout let Java allocate and safely manipulate native memory with alignment checks and VarHandle-style atomic/volatile semantics; Linker provides downcalls and upcalls so C can call back into Java via generated stubs. Demonstrates a working signal handler and an SDL-based game using jextract-generated bindings and an OpenJDK build, proving the approach actually runs and interoperates with native libraries.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:07Managed vs. native runtimes
  3. 7:15Why Java for high-performance
  4. 11:06Foreign memory and linkers
  5. 13:43Memory segments and scopes
  6. 23:20Var handles and method handles
  7. 31:57Unsafe memory access
  8. 34:02Downcalls and native linking
  9. 38:04Upcalls to Java
  10. 43:23Game engine demonstration
  11. 51:23Closing thoughts and Q&A
~/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.