Memory Mapped Files
Memory mapping of files is a very powerful abstraction that many operating systems support out of the box. Linux does this via the mmap
system call. In most cases where an application reads (or writes) to a file at arbitrary positions, using mmap
is a solid alternative to the more traditional…