Skip to main content


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.

dmitry.gr/?r=05.Projects&proj=…

This entry was edited (1 year ago)

reshared this

in reply to data0

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!

in reply to data0

Naked me think of the XKCD "A Bunch Of Rocks" which uses an infinite supply of rocks in an infinite desert to very, very slowly, simulate an entire universe.

xkcd.com/505/