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

Published: 15 May 2024
on channel: Devoxx UK
734
21

For updates and more, join our community 👉   / devoxx-united-kingdom  

The long-awaited "Foreign Function $ Memory API" (the "FFM API") finally became public in Java 22. In this talk, we will explore how the FFM API enables native methods and memory access with pure Java code and how high performance and safety can be achieved at the same time.
Fundamental concepts like MemorySegments, MemoryLayouts, Arenas, and native calls will be explained in detail and we will then build on these fundamental building blocks in a hands-on coding demo to customize their behavior and add functionality. Concepts like memory mapping, custom arenas, and high-performance serialization will be explored.
These building blocks can be reused across many typical and contemporary application domains and we will finish up by writing a small low-latency fintech application that makes use of the concepts above. Who knows, maybe your existing projects can get better performance and safety by using the FFM API?


On this page of the site you can watch the video online Java 22 and the Foreign Function & Memory API by PER MINBORG with a duration of hours minute second in good quality, which was uploaded by the user Devoxx UK 15 May 2024, share the link with friends and acquaintances, this video has already been watched 734 times on youtube and it was liked by 21 viewers. Enjoy your viewing!