Implementing a file pager in Zig: Using mmap

added by DotNetKicks
12/24/2021 3:09:45 PM

395 Views

Now that we know what we want to implement, let's dig a bit deeper and see how to do it. An interesting way to implement a file pager is to... not do that. Instead, we can rely on the OS' memory mapping to do most of the heavy lifting.


0 comments