This is crazy. Someone managed to run #Linux (v4.4) on an #Intel 4004 #CPU from 1971, one of the first commercially available microprocessors ever.
The craziest part: It became possible by writing a #MIPS #R3000 #emulator in 4004 #assembler that fits into the 4096 bytes of addressable memory. The emulator then runs the kernel. My mind is blown.
It's not exactly fast though :-P
> … the virtual CPU thinks it is running at 1.05MHz. My testing shows that the actual emulated speed of the MIPS guest is around 70Hz at 740KHz. I run the 4004 at 790KHz, so the emulated guest is thus operating at about 74.73Hz. So time for the guest is dilated by 14,030x. This means that **a virtual second is, in real life, around 3h54**. Four hours per virtual second, basically!
@data0 @rc2014 of course it’s dmitrygr, absolute legend.
@data0 thats one way to work around a small address space :picmo_laugh: