2 ms·
It's one of my biggest complaints attempting to do systems programming in the language, that and the lack of 64bit mmap.
by marginalia_nu 5y ago
It's one of my biggest complaints attempting to do systems programming in the language, that and the lack of 64bit mmap.
- xxs 5y agoI have no issue with the lack of unsigned - that's ok. It's a trivial workaround, as it's rare enough. However the lack of 64bit indices over memory mapped files blows indeed, with no easy (performant) replacement. It's doable but it'd require a shim over an array of ByteBuffer with the double indirection and pretty much inability for the JIT to optimize away all the bound checks.
- hashmash 5y agoI've had to resort to rolling my own mapping layer using JNA. Fortunately, 64-bit mmap support is being added as part of the Panama foreign-memory project.