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.

Writing asynchronous JavaScript

The core idea of The Computer Science Book is that computing is a teetering tower of abstraction. By understanding the design and function of the levels below, we can more intuitively understand the behaviour of the system. Asynchronous programming in JavaScript is an excellent example of this.

Operating system kernels

How the processor and operating system work in tandem to protect the system.

How does an array work in memory?

A simple explanation of how arrays work in memory: contiguous storage, constant-time indexing, O(n) insertion, and dynamic array resizing.

Turing machines: one machine to rule them all

Turing machines are the single most important idea in computer science. They're relevant to day-to-day programming in surprising ways. Read this post to learn everything you need to know.