It would be useful to add an example of memory mapping using the FFM API in the guides.
The JavaDocs for memory mapping with FFM is here: https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/nio/channels/FileChannel.html#map(java.nio.channels.FileChannel.MapMode,long,long,java.lang.foreign.Arena)
Here is a video of me describing memory mapping with FFM: https://youtu.be/t8c1Q2wJOoM?t=1772
The JavaDocs for memory mapping with FFM is here: https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/nio/channels/FileChannel.html#map(java.nio.channels.FileChannel.MapMode,long,long,java.lang.foreign.Arena)
Here is a video of me describing memory mapping with FFM: https://youtu.be/t8c1Q2wJOoM?t=1772