←back to thread

118 points mariuz | 1 comments | | HN request time: 0.347s | source
Show context
mati365 ◴[] No.45655689[source]
Writing compilers for old CPUs has some real magic in it. It helps you see how processors really work and brings back the old days when hardware was simple and easy to understand. I miss that time. I once wrote a small C compiler in TypeScript for the Intel 8086 and 8087 ([1]), and I have huge respect for the people who coded for those chips. It’s super hard but also very rewarding.

[1] https://github.com/Mati365/ts-c-compiler

replies(4): >>45655833 #>>45656775 #>>45658223 #>>45662182 #
1. zahlman ◴[] No.45656775[source]
> It helps you see how processors really work and brings back the old days when hardware was simple and easy to understand. I miss that time.

Just FWIW, you can still find Z80s listed for sale all over the usual e-merchants and people absolutely still design around them. It wasn't discontinued until last June, and there's an updated eZ80 design still made and sold by Zilog.