Never underestimate the value to understanding of getting your own hands dirty. ...
Simon Tatham @simontatham@hachyderm.io
Never underestimate the value to understanding of getting your own hands dirty. Even in a purely informational context.
I lent a colleague "The Soul of a New Machine", which was among my own formative reading as a teenager. She asked me a good question: when they extended the 16-bit Eclipse instruction set to support 32-bit addresses and data, without a mode bit that switched to a completely different ISA, how did they find room for all the new stuff? Did all the 32-bit instructions have to have extra-long encodings, or what?
To try to answer that, I dug out the architecture manual on the web, and hand-typed the instruction encodings into a text file. My _plan_ was to process that file with Python scripting until I'd organised it into some kind of a coherent layout. It didn't take me too long – I'm a fast typist.
In fact, I found that by the time I'd typed in all the encodings, I _already_ had a sense of how the general layouts worked, just from having got used to the patterns I was commonly seeing. "Oh yes, another of those instructions with a 1, two register fields, and 11 fixed bits, there are tons of those." I didn't end up finishing my Python analysis tool at all, although the half-finished form of it was useful as a cross-check for transcription errors. By the time I'd done the data entry, I already had the understanding I'd been hoping for.
I've always found playing music is a better way to appreciate it in depth than listening, because your mind necessarily engages with every single note, and you notice little details that would have otherwise gone in one ear and out the other. This seems much the same.