Memory API: Patterns, Uses Cases, and Performance by José Paumard
For updates and more, join our community 👉 / devoxx-united-kingdom Using the off-heap memory to store and process large amounts of data didn't change in Java since Java SE 4, when ByteBuffer was introduced. Since then, operating systems moved from 32 bits to 64 bits, and the available RAM in a regular machine moved from megabytes to gigabytes, and more. Another API was much needed, as a ByteBuffer is a 32 bits buffer, not enough for modern applications. First published as a preview feature in Java SE 19, the Foreign Function and Memory API made it as a final feature in Java SE 22. The Memory part brings several new concepts. Among them Arenas and MemorySegments now give you the possibility to manage gigabytes of contiguous off-heap memory, with a very elegant layout model. On the other hand, MemoryLayout allows for a C-struct like organization of your data in memory. This presentation shows you this complex API, in a step by step approach. It explains how your data is organized and aligned in memory, and the impact it has on the API. It also focuses on the delicate use of VarHandle, a critical element to access your data. It then shows you how you can load large files in memory segments, and shows you the performance you can get in the processing of billions of data elements.

Memory API: Patterns, Uses Cases, and Performance by José Paumard, Remi Forax

Java 22 and the Foreign Function & Memory API by PER MINBORG

Collectors in the wild! by José Paumard

Java for AI

AI Slop vs. Open Source: Why the Next Contribution Crisis Is Already Here. Philippe ENSARGUET

Co-Creator of Haskell: Functional Programming, Thinking in Types, Useless Languages | Simon Jones

Keynote: After the AI Hype – What’s Real, and What’s Next - Richard Campbell - 2026

Billionaire's WARNING: I'm SELLING. The Crash Is Already Here!

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Beyond ByteBuffers by Brian Goetz

Deep .NET: Writing async/await from scratch in C# with Stephen Toub and Scott Hanselman

But what is quantum computing? (Grover's Algorithm)

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

The Big Short (2015): The Jenga Scene – Explaining the Financial Collapse

ASMR Best Triggers For Sleep Collection (No Talking) 3 Hours of Tapping & Scratching

When Celebrities Couldn’t Handle Sacha Baron Cohen’s ZERO Filter (Borat, Ali G, The Dictator)

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

When Stupid Cops Mess With FBI Agent

OOP vs. Data Oriented Programming: Which One to Choose? by Venkat Subramaniam

