by bosch_mind · 2y ago · 0 comments
Also, it’s not as hard as it seems if compilers in college was your last attempt in this area.
- crafting interpreters
- writing and interpreter/compiler in Go
Both good books on the domain for an amateur compiler writer.
For lower level assembler and chip design stuff/logic gates etc. obviously I recommend Nand2Tetris
- build your own kit car. Maybe start with something easy like a Ford GT with a V8 from a donor Mustang!
- build a kit airplane! Make it a jet for a little bit of extra challenge!
- make a rotary engine from scratch! Make your own materials!
- now a figure 8 propeller piston engine!
- create your own chip fab facility!
These articles are weird, delusional flexes.
These exercises are more like building a rubber band powered toy car. Useless (but not worthless), fun to build (if building things is something you enjoy), and something you can learn fundamentals of the domain from.
Also, I wish I could take a swing at any of what you mentioned for as little up front investment in money or space as giving these software exercises a shot, it'd be an incredible learning experience and awesome fun!
But that is not needed for an educational project. I encourage people to do things out of curiosity. Just ask yourself, what else is there that I could do that I haven't yet tried? (if you have the time)
It's not a flex or resume building or whatever (who cares about that?), it's a learning opportunity. I do think that sometimes there is a collective "this is hard" stance for things that we haven't had to do in a while because maybe they have been abstracted away or good solutions already exist. But the "this is hard" stance is actually harmful if it scares one away even though things turn out to be totally doable once one overcomes that mental hurdle.
When you understand your tools, you understand your job more. You also can appreciate things more from a different perspective.
Here's a few stuff I've worked on for my own education over the years:
- Raft: https://github.com/eatonphil/raft-rs
- BTree: https://github.com/eatonphil/btree-rs
- A little Lua VM: https://github.com/eatonphil/lust
- A little Postgres clone: https://github.com/eatonphil/gosql
- A little Elastic clone: https://github.com/eatonphil/docdb
- A little amd64 emulator: https://github.com/eatonphil/go-amd64-emulator