Programming
How software actually works underneath.
Programming
Why is 0.1 + 0.2 not exactly 0.3?
One tenth cannot be written exactly in binary, any more than one third can be written exactly in decimal — so the computer stores a very close approximation and the small errors show up when you add them.
6 min readintermediate
Programming
Why do computers use binary?
Because it is far easier to build a component that reliably tells apart two states than ten, and reliability is what matters when you are switching billions of times a second.
5 min read
Programming
Why do CPUs have cache?
Main memory is so slow relative to a modern processor that without a small, very fast copy of recently used data sitting next to the core, the processor would spend most of its life waiting.
7 min readintermediate