From Java, it is possible to exchange with the native world since JDK 1.1, JDK22 however, brings a newer approach that is both supported and safer to cross that bridge. Lets examine the key concepts of the FFM API and why it improves significantly the situation. Let's take a look at jextract
as well, a tool to automate the mapping generation.