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?

Arrays look simple, but their memory layout explains both their speed and their awkwardness. Here's how contiguous storage makes indexing fast.

How to learn computer science

A practical self-study guide for developers who want the useful parts of computer science without trying to recreate a whole degree from scratch.