February 2023

All posts

How the heck a C program is compiled from human comprehensible language to 0's and 1's

You may have wondered how programming language lexemes are turned into a series of 0's and 1's, aka binary files. Let's discover that together, step by step.

Why the heck the _state variable in task_struct structure is 4 bytes

The Linux process state needs six flags, so why is it stored in an unsigned integer with 2^32 possible values? The answer is in READ_ONCE/WRITE_ONCE.

Why the heck gateways are invented in computer networks?

I've always wondered why the default gateway is needed in computer networks. I finally realized, so I wanted to share that with you guys :)