3 ms·
Writing an emulator was on my list of “wizardly things beyond my reach” (along with compilers), but I highly recommend burning down that list. While creating a
by zellyn 7y ago
Writing an emulator was on my list of “wizardly things beyond my reach” (along with compilers), but I highly recommend burning down that list.
While creating a complete and shareable emulator is a big undertaking, making a simple one for fun is surprisingly not too bad. You start with the CPU emulation, and there are tons of comprehensive tests, so you just fix those until you’re done.
You should expect to do a lot of reading though, and you’ll become very familiar with how the system you’re emulating works :-)
- byuu 7y agoAlso on this list: write your own toy programming language, even if it's just an interpreter that builds ASTs. Nothing broadened my view of computer programming more than that.
- zellyn 7y agoI did the Coursera Compilers course (highly recommended), so I implemented a toy language... but have never created one :-)