Technologies
C — Exploration
Low-level memory management and data structures, explored to understand what happens under the hood
A brief introduction to the C programming language, focusing on low-level memory management and data structures. I explored C to understand what happens under the hood of the languages I use daily.
Why I explored it
Coming from high-level languages like TypeScript and PHP, I wanted to understand how memory actually works, what pointers are, and why languages like Rust exist.
I also recently started Crafting Interpreters by Robert Nystrom, which has a full C implementation of a bytecode VM.
What I learned
- Pointer basics — dereferencing and the address-of operator
- Stack vs heap memory
- Manual memory management with
mallocandfree - Structs as blueprints for data
- Building a doubly linked list from scratch
What I built
Self-directed learning
These projects were built in a single self-directed learning session.