Building the worst Linux PC ever: 6 hours to boot Ubuntu
These crazy projects are the most fun. As Richard Feynman notoriously said: "What I cannot create, I do not understand".shameless plug below:Last year, inspired by Bellard's jslinux, I too wrote an emulator that can run Linux on the browser. Only I was lazy and emulated the vastly easier LatticeMico32 processor.Anyways, the result was very intellectually satisfying.After writing the interpreter, I went ahead and wrote a version that generates Javascript code on the fly (and captures up to 3 backwards jumps to the same block), for massive speed ups.Anyways, it doesn't serve any purposes, but boy was it fun...The code is at:
https://github.com/ubercomp/jslm32/And there's a demo running on:
http://www.ubercomp.com/jslm32/src/BEWARE: It only works well on Chrome (takes download time + 10s to boot on my machine).If anyone is interested in this stuff, just ask and I'll write a post describing what I did to take boot time from 2.5 minutes to 10 seconds.