Paging: Splitting Memory into Fixed-Size Blocks
Slice memory into identical grid blocks. The standard technique aiming to solve External Fragmentation.

Writing about development and technology.
Slice memory into identical grid blocks. The standard technique aiming to solve External Fragmentation.

Why does my server crash? OS's desperate struggle to manage limited memory. War against Fragmentation.

Processes are isolated. But how do Chrome tabs exchange data? From Pipes to Sockets.

Code is perfect, but money disappears occasionally. Worst bugs created by timing issues.

Understanding sync with Restroom Key (Mutex) and Waitlist (Semaphore). Ownership differences, Spinlocks, Monitors, and Priority Inversion (Mars Pathfinder).

Why processes freeze forever. From Dining Philosophers to Distributed Deadlock Detection. Includes Resource Allocation Graphs, Banker's Algorithm, and Java/DB examples.

Why is CPU switching expensive? Cache Pollution, TLB Flush, Kernel Mode, vmstat tuning, and deep dive into Linux Kernel's switch_to macro.

The definitive guide with Factory analogy. Chrome's Multi-process architecture, typical C code examples (fork vs pthread), and deep dive into Green Threads (Goroutines).

Not a Demon. It's the 'Guardian Spirit' from Greek mythology. Heroes of the server working silently in the background.

Senior dev said 'just chmod 777 it'. Turns out, that was reckless advice. Secrets of rwx and numbers.

iTerm2 is not a real terminal. It's an Emulator. From Teletype (TTY) relics to PTY.

Shell is not the core of OS. It's just a 'Messenger' passing user commands to Kernel. The real role of zsh and bash.

Developers can't control the hard disk directly. Instead, we must 'ask' the Kernel via an API. That request is the System Call.

When your code tries to enter Kernel Mode, CPU blocks it. Why split the computer into two modes?

If an OS is a collection of programs, who is the core? Identity of the Kernel that always stays in memory.

Without an OS, we'd have to calculate which sector of the hard drive to write 0s and 1s to. What Linux and Windows do for us.

Will quantum computers break all encryption? What is a 'qubit' that makes supercomputers look like toys?

Why did Bitcoin miners switch from GPUs to ASICs? The battle between flexibility (FPGA) and extreme efficiency (ASIC).

The moment I turned on 'RTX ON' in Cyberpunk 2077, my framerate got cut in half. Turns out it was calculating every single ray of light.

The gold mine of AI era, NVIDIA GPUs. Why do we run AI on gaming graphics cards? Learn the difference between workers (CUDA) and matrix geniuses (Tensor Cores).
