I’ve been dabbling with Rust lately and looking for a good learning project to help ground some theory in practice. Skimming through Crash Course Computer Science gave me an idea: starting from the ground up, with bits and switches, let’s try to simulate some very basic digital circuits in Rust – latches, registers, and adders. By the end, we’ll hopefully have enough components to assemble a virtual “computer” capable of some rudimentary 4-bit arithmetic.