Memory Managment: Understanding Process Memory
By Tyler
Hey all. I’ve been wanting to start a series. I’m calling it “Zig for the Uninitiated”. That’s a working title. Perhaps “Systems Programming for the Uninitiated” would be a better name, as I really want to focus on more fundamental concepts than basic language features, but using Zig as the framework.
A common question that get’s asked when starting to learn zig is “What’s an Allocator?”. That is often followed up with “Which one should I use?”. These are important and fundamental questions to answer when learning zig. However, I think they require a basic understanding of how the Operating System provides memory to a process and how the process uses that memory. I’ve outlined this at the following video: