Second edition with machine learning, deep learning, LLMs & AI available now! Buy now

Free Articles & Tutorials

Deep dives into CS topics that complement the book.

Announcing the Second Edition

The second edition of The Computer Science Book is now out in ebook, paperback and hardback! There are three new chapters on machine learning, deep learning and LLMs & AI. Existing chapters are revised and expanded. 75% extra content for the same price.

How NAT traversal powers video calls

You're behind NAT. Your colleague is behind NAT. Neither has a public IP. So how does video data flow directly between you? A pugilistic account of STUN, hole punching, and a clever fallback called TURN.

How interrupt handlers work

Press a key and your CPU jumps to attention. It saves everything it was doing, handles your keypress, then resumes exactly where it left off. This is how hardware demands attention.

TCP explained for web developers

TCP is the reliable, ordered byte-stream protocol used by much of the Internet. Here's what TCP does, how delivery works and where the guarantees stop.