On Thu, Oct 30, 2025 at 4:39 PM Florian Weimer <[email protected]> wrote:

> I'm trying to image in a way to get rid of the double buffering in
> FileInputStream/FileOutputStream: have the kernel access the heap
> directly, instead of a copy.


Wasn't that one of the goals of the NIO Channel API and direct ByteBuffers?

You've probably already considered that approach - if so I'm curious why it
doesn't work.

Also there is the new Foreign Function & Memory AP (JEP 454) which might
help.

-Archie

-- 
Archie L. Cobbs

Reply via email to