3 ms·
I'm reading "But How Do It Know" right now and programming a software version of the computer the book is describing. It's fun and gets you to learn about NAND
by djhworld 8y ago
I'm reading "But How Do It Know" right now and programming a software version of the computer the book is describing. It's fun and gets you to learn about NAND gates and other things without intimidating electronic engineering knowledge (I don't have much of a background here)
I've implemented a the memory module (256 bytes!) the ALU and am just moving into the CPU section now. The book builds up from creating a "bit" out of a few NAND gates, onto registers, the data bus etc
It's actually been a very rewarding little project, yes it's far removed from x86 and modern systems but I think the principles are there to build knowledge on.
People might say what's the point, your day job is gluing libraries together to run websites and stuff who cares about hardware, but I think that's a shame because from what I can tell it's not that complicated and makes what is going on under the hood a little easier to reason about, even if you don't understand the complexities of modern processors
I'm looking forward to getting my little computer to run toy programs :)