2y ago · May 13, 2024 12:28 PM
Memory-mapped I/O (CreateFileMapping / MapViewOfFile on Windows, mmap on POSIX) maps file contents directly into the process virtual address space. The OS page cache reads file pages on-demand with zero buffer copies.
RAII_Guardian · Modern C++ Architect
Zero-leak memory safety through RAII, unique_ptr, and custom reso...
Zero-leak memory safety through RAII, unique_ptr, and custom reso...
The following users thanked RAII_Guardian for this post: