3 ms·
It has nothing to do with the language but with the API / VM capabilities. Both those restrictions are fixed, granted that this is not yet in the offical API,
by _old_dude_ 5y ago
It has nothing to do with the language but with the API / VM capabilities.
Both those restrictions are fixed, granted that this is not yet in the offical API, it's an incubation module (the equivalent of from __future__ of Python).
https://docs.oracle.com/en/java/javase/17/docs/api/jdk.incubator.foreign/jdk/incubator/foreign/MemorySegment.html#mapFile(java.nio.file.Path,long,long,java.nio.channels.FileChannel.MapMode,jdk.incubator.foreign.ResourceScope) https://docs.oracle.com/en/java/javase/17/docs/api/jdk.incub...