#Memory

2 posts

Hardware Basics #3: Memory — RAM, the Hierarchy, and What Happens When Swapping Starts
7 min read

Hardware Basics #3: Memory — RAM, the Hierarchy, and What Happens When Swapping Starts

What RAM is and why it is volatile, the memory hierarchy from registers to disk, and how performance falls off a cliff when memory runs short and the system spills to swap. Understand memory as behavior, not as a capacity number.

JavaScript Advanced #5 Memory Model and GC
6 min read

JavaScript Advanced #5 Memory Model and GC

How JavaScript manages memory — the reachability-based garbage collector and the leak patterns where objects survive without you noticing.