Implementing a file pager in Zig: Reading & Writing from the disk

added by DotNetKicks
1/5/2022 5:20:28 PM

202 Views

After implementing the memory management in the previous post, I set out to handle the actual I/O primitives that we need. As a reminder, we are separating the concerns here. We managed memory and reference counting in the previous post and now I want to focus on how we can read and write from the disk in as efficient a manner as possible.


0 comments