Рет қаралды 5,665
NOTE: This series only covers Zig 0.11.0! Help me create more content like this!
www.paypal.com/donate/?hosted...
Get yourself a cup of coffee, this is going to be a long video. :^) Memory management in low-level systems programming is a fundamental skill to master. In Zig, it's at the core of the language's philosophy of being explicit, not hiding control flow, and offering maximum power and flexibility to the programmer. In this episode we cover the foundational knowledge you'll need to start mastering manual memory management in Zig. The stack, heap, and static memory sections are explained, as well as the concept of allocation and freeing heap memory.
The code: codeberg.org/dude_the_builder...
Relevant Link: ziglang.org/documentation/0.1...