Deadlock: The Infinite Waiting Game (Definitive Guide)
Why processes freeze forever. From Dining Philosophers to Distributed Deadlock Detection. Includes Resource Allocation Graphs, Banker's Algorithm, and Java/DB examples.

Writing about development and technology.
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).

Why does my PC sound like a jet engine every summer? Choosing between a fan breeze and a cold water shower for your CPU.

If your computer keeps randomly rebooting, it might be a cheap PSU. A steady heartbeat keeps the body (and computer) alive.

I thought the motherboard was just a board to plug things into. Then I learned what a chipset does.

Ever hit 'CUDA Out of Memory' while training a deep learning model? Understanding the difference between VRAM and regular RAM.

You can make your CPU faster for free? The story of how I almost fried my CPU pushing past factory limits.
