Project Panama in Action: Building a File System
summary
Builds a working Java user‑space file system using Project Panama and the FUSE C library, implementing two real operations (file read and mkdir) and mounting under ~/test to prove it works. Shows exact Panama pieces used: Arenas, MemorySegments, Linker for downcalls, upcall stubs for C → Java callbacks, and generated bindings with Jextract to cut boilerplate. Demo claims iouring reads beat Java’s default, and runtime tips include reusing method handles and tying library lifetime to an arena.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 0:20Project Panama benefits
- 3:21Integrating the FUSE library
- 5:02Manual C-library bindings
- 17:35Using Jextract and implementation
- 31:48Performance tips and conclusion








