Programming

How UTF-8 and Unicode Work: Code Points, Bytes, and Why Length Is Three Numbers

A string that looks like one character can be one byte, two bytes, or several code points that a font draws as a single glyph. len in one l...

Sarthak Bystander 7 Oct, 2026

How IEEE 754 Floating Point Works: Formats, Rounding, and Why 0.1 Is Not Exact

A statement like 0.1 + 0.2 == 0.3 fails in Python, JavaScript, Java, Go, and C for the same reason. None of those languages stored the deci...

Sarthak Bystander 6 Oct, 2026

How System Calls Work: User Mode, Kernel Mode, and Crossing the Boundary

A user program cannot talk to a disk controller, change another process's page tables, or bind a TCP port by executing ordinary instruct...

Sarthak Bystander 11 Sept, 2026

How Garbage Collection Works: Mark-and-Sweep, Generational Collectors, and Pause Times

Garbage collection is the runtime mechanism that finds heap objects a program can no longer reach and reclaims their memory. Manual allocato...

Sarthak Bystander 6 Sept, 2026

How TCP Works: Handshake, Reliability, and Congestion Control

HTTP can describe a request. DNS can find an address. Neither of those steps moves a single reliable byte across an unreliable network. That...

Sarthak Bystander 4 Sept, 2026

What Happens When You Type a URL? Step-by-Step Explained

You type a website address, press Enter, and a page appears. That moment feels instant, but it triggers a carefully coordinated sequence of ...

Sarthak Bystander 4 Sept, 2026

Processes vs Threads Explained: How Programs Run Concurrently

Every running program becomes a process . A process owns isolated virtual memory, open files, credentials, and at least one thread . A threa...

Sarthak Bystander 3 Sept, 2026

Processes vs Threads Explained: How Programs Run Concurrently

Introduction A process is a running program with its own memory. A thread is the scheduled unit of execution inside a process. This article ...

Sarthak Bystander 3 Sept, 2026

SQL vs NoSQL Explained: How Databases Differ

SQL vs NoSQL is one of the first architecture choices a developer makes. This guide explains how each model stores data, how queries work in...

Sarthak Bystander 2 Sept, 2026

How Caching Works: A Beginner Guide for Developers

Every time you open a website and it loads in a fraction of a second, caching is probably doing most of the work. Caching is one of the most...

Sarthak Bystander 1 Sept, 2026