The Computing Series

Thread Activation

This chapter is the origin point for Thread 7: State Machines.

A statement is the smallest possible unit of logical state. It can be True or False. Nothing else. This binary quality is not a limitation — it is a foundation. Every state machine you will encounter in this series, from a traffic light controller to a distributed database’s leader election protocol, is built from statements about the world that are either satisfied or not.

This is the mathematical root of a pattern that will appear at every level of the computing stack. By the time you finish this series, you will have seen it as a state machine, a database transaction model, and an architectural principle. Right now, it is just a sentence. Keep that in mind.


Read in the book →